jhu-idc / iDC-general

Contains non-code-base specific tickets relating to the Islandora8 for Digital Collection project
0 stars 0 forks source link

Make selected facets (on search pages) more visible #477

Closed htpvu closed 2 years ago

htpvu commented 2 years ago
Screen Shot 2022-01-20 at 1 32 02 PM
jabrah commented 2 years ago

Related: we can force the selected facets to appear at the top of the list through configuration at /admin/config/search/facets

Each facet would have to be updated, changing Facet Sorting, Sort by active state to Ascending (instead of Descending)

jabrah commented 2 years ago

How do we want to solve this? Two main solutions off the top of my head:

1) Bring selected facets to the top of their respective lists and automatically open the facet categories that have selected values 2) Create a running list of all selected facets outside of any category. Optionally add behavior from (1)

Mockups: image

Maybe other ideas?

htpvu commented 2 years ago

@jabrah @jaredgalanis we're good with option1. checked with katie on Slack.

jabrah commented 2 years ago

Remaining work: Facet categories need to remain open when one or more value is selected. Currently, all categories close on the user. This will involve a change in our JS codebase in the theme - shouldn't be a large change

jabrah commented 2 years ago

Currently in test: Selecting multiple facets in the same category will sometimes not sort selected values at the top, but sometimes will. Refreshing the page will force the facets to the top

image