buda-base / public-digital-library

http://library.bdrc.io
4 stars 6 forks source link

results filtering UX on the results page #880

Open berger-n opened 1 week ago

berger-n commented 1 week ago

currently we have a slightly different set of widgets depending on the results type (Person, Topic, Work etc.), and only a few of them are open by default, when they aren't the user has to click the title to display the checkboxes:

image

image


should something like this be implemented on the new results page?

and something related, should the empty widgets titles like Translator be removed in that case? https://library-dev.bdrc.io/osearch/search?q=spyod%20%27jug&associatedCentury%5B0%5D=19

image

roopeux commented 1 week ago

Empty widgets should be removed.

I think the widgets do add value, but I assume they will not play a very big role in the new UX. Once we see some real users on this UI we will know much more.

But since we don't limit the scope to "person" etc. anymore, the widgets should be whatever the "aggs" query returns from Opensearch, I guess. @eroux

eroux commented 1 week ago

yes, the current aggs work well, I guess one question is do we use the older design for the "type" opensearch agg?

343697321-18dd8ae5-8dda-4c47-9329-a381e55cc653

I don't have a strong opinion either way, it's just that keeping a similar design is a smaller change

berger-n commented 1 week ago

no more empty widgets, it hides them when they are not relevant with the currently filtered results: https://library-dev.bdrc.io/osearch/search?q=spyod%20%27jug

https://github.com/buda-base/public-digital-library/assets/33383857/9913484c-55f5-4fb9-ac70-257a4ecf84a0


@eroux regarding the data types widget, one issue is that we now have a lot more categories:

image


@roopeux regarding the collapsing of widgets, do you have an opinion? should the checkboxes always be visible like this, or should some be hidden so that the user has to click the corresponding widget title to display them?