hypothesis / lms

LTI app for integrating with learning management systems
BSD 2-Clause "Simplified" License
46 stars 14 forks source link

Display amount of items in dashboard filters #6820

Closed acelaya closed 1 week ago

acelaya commented 3 weeks ago

Closes https://github.com/hypothesis/product-backlog/issues/1570 Depends on https://github.com/hypothesis/lms/pull/6850

Display the amount of items in a dashboard filter when that filter does not have a selected value.

This will help users know the items in those lists get filtered when selecting anything in the other filters.

Since filters are paginated, we'll be showing different values based on a set of conditions:

image

In addition, this PR also updates frontend-shared, in order to get a fix for Select toggle buttons.