Skip to content

curated matches#84

Merged
neomorphic merged 34 commits into
masterfrom
curated_matches
Apr 23, 2026
Merged

curated matches#84
neomorphic merged 34 commits into
masterfrom
curated_matches

Conversation

@neomorphic
Copy link
Copy Markdown
Member

  • feat: Adds basic example of curated results table.
  • feat: Adds Curated Results section to help.
  • feat: Adds API endpoint fetch to CuratedResults.
  • feat: Fixes up curated matches processing.
  • feat: Places curated matches in a collapsible element
  • feat: adds pagination to the curate matches table.
  • feat: curated matches sets page size to 5
  • fix: removes card border around curated matches error
  • fix: Changes title of curated matches container.
  • fix: Constrains maximum width of search results.
  • feat: Adds "search" link to Neuron type/instance
  • fix: Removes collapse box around computed matches.
  • feat: Adds "Source" column to curated results.
  • fix: sets default to 2 items per page for curated results.
  • fix: Changes 'Search' button to 'Query' button.
  • fix: hides pagination when curated results <= 2.
  • testing: fix SearchInput tests after button name change
  • feat: Adds EM annotations to curated matches table
  • fix: reduce allowed search term length to 2 from 3
  • fix: Adds a wildcard to the end of all curated cell_types
  • fix: Adds addWildCard attribute to curated matches
  • fix: removes incorrect "Additional matches ...." message
  • fix: Moves curated matches pagination to table bottom.
  • fix: Makes curated match count bold to highlight it.
  • added help text for curated matches from Geoffrey
  • updated paper reference
  • updated search examples to include more curated matches
  • fix: restore bodyID string parsing broken during rebase
  • feat: add @fortawesome/free-solid-svg-icons dependency
  • feat: make line name a link to search page in LineMeta
  • chore: bump version to 3.5.0 and add 3.4.0 release notes
  • docs: add 3.5.0 release notes
  • fix: scroll to hash anchor on mount instead of page top
  • chore: Updated release notes to remove unnecessary details
    @krokicki

neomorphic and others added 30 commits April 14, 2026 09:22
This table contains some hard coded results and shows what it could look
like when populated with data. Next steps are to add the data lookup
code and tweak the layout of the table.
This adds a new section to the help page that will describe the curated
results section of the search.
Adds the endpoint that returns the curated matches from our DynamoDB.
Now that the API has been created, the result processing needed to be
fixed, because the response from the API differed from the one that was
being used during testing.
This makes it possible to hide the curated matches and view the computed
matches, if the curated matches are not what you are looking for.
To prevent them from being spread too far across wide screens.
The type and instance text of a match now links back to a search using
that text.
This plus the change of 'Results' to 'Query Results' is supposed to
indicate that the user is querying the meta data and does not get a
"search" result until they click on the Color Depth Search Results
button or the PatchPerPixMatch Results button.
Removes the pagination controls if there two or fewer results as the
default page size has been changed to two items per page.
This needed to be done, so that people could search for cell types with
short names, like "EL".
In order to address some parent type/subtype uncertainty during the
curation process, we are linking to the wildcard search for a cell_type
so that all results are returned when clicking on it.
This indicates if a wildcard should be added to the result when clicking
on it and adding it to the search bar.
When performing a wildcard search, there are times when the Additional
matches in different datasets" message would appear when it was not
supposed to. This is because the search could return multiple hits for
the wildcard, eg LHPD2c7* would return a hit for LHPD2c7 and LHPD2c7_R,
these contain 4 and 2 bodyIds respectively, with two of the bodyIds
overlapping. The code filtered out the duplicates at a later stage, but
did not do so, before the check that displays the "Additional matches
...." message. This adds a check to remove all bodyIds that have been
seen before and prevents the message from being shown at the wrong time.
Moves the pagination controls to the bottom of the results table, to
make it more obvious that there are more than 2 results.
The idea is to draw more attention to the result count, so people don't
think there are only 2 results.
Object.entries() was incorrectly used on a string, causing metadata
fetches to fail and returning no search results. Also switches
faBookmark import to free-solid-svg-icons.
@neomorphic neomorphic merged commit 31a3c85 into master Apr 23, 2026
1 check passed
@neomorphic neomorphic deleted the curated_matches branch April 23, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants