AllenInstitute / biofile-finder

An open-use web application created for easy access, collaboration, and sharing of datasets through rich metadata search, filter, sort, and direct viewing in common industry applications or in our web-based 3D Volume Viewer.
https://biofile-finder.allencell.org/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Feature/update special filter UI and create any/none/fuzzy query params #238

Closed aswallace closed 1 month ago

aswallace commented 2 months ago

Description

A Big Ticket! This PR includes:

closes #53 , closes #74

~TODO: fix font (#235 )~

Testing

Screenshots

EDIT: Updated screenshots 9/30/2024

Any/none option

~The radio buttons are a little off center with Helvetica, but I think it will be fixed when we're using the correct Open Sans link~

any value no value

Search box with new fuzzy search toggle (exact/non-fuzzy by default)

fuzzy search

Date range with filter type choice group

date range modal

Numerical range with filter type choice group

numerical range modal
aswallace commented 2 months ago

CHANGES FROM PREVIOUS VERSION

Added a new optional type arg to filters in 181067e, so now filters can be exclude (null), any value, fuzzy, or default (regular filter) (open to changing the names of these). This allows us to get rid of a lot of the duplicate logic I had before, especially for redux and the AnnotationFilterForm component.

This means the FileExplorerUrl (our local BFF url parsing class) will NOT have the fuzzy/include/exclude params that I'd added in before, since now all filters are part of the filter param but with an extra type arg. However, the queries we send to FES do still need the new query params.

Also no longer includes the unrelated UX changes to the modals since was merged in #250