georgetown-cset / parat

🦜 PARAT: CSET's Private-sector AI-Related Activity Tracker
https://parat.cset.tech
Other
5 stars 0 forks source link

Clarify for the user that filters are present on non-selected columns #181

Closed brianlove closed 8 months ago

brianlove commented 10 months ago

If a filter is set on a field/column but that column isn't currently being displayed, there's no clear indication (other than the URL and a smaller number of companies listed) that the filter is affecting the results.

Example: http://localhost:8550/?ai_patents=0%2C51&zz_columns=name%2Ccountry%2Cai_pubs - ai_patents is filtered to [0, 51], but the only sign of this in the UI is that only 1542 of 1760 companies are listed.

image

brianlove commented 8 months ago

@za158 Any thoughts/preferences on this? I'm thinking perhaps the "Reset filters" button say something like "Reset 2 filters, "Reset filters (2)", or "Reset filters (2 active)"?

za158 commented 8 months ago

I like the "2 active." What do you think about also changing the styling of that button when filters are active?

jmelot commented 8 months ago

Closed via https://github.com/georgetown-cset/parat/pull/203