cityofaustin / atd-moped

A comprehensive mobility project tracking platform for Austin, Texas.
https://mobility.austin.gov/moped/
4 stars 3 forks source link

Add ability to toggle filters on any or all in the search filters chips #1400

Closed chiaberry closed 3 weeks ago

chiaberry commented 3 weeks ago

Associated issues

https://github.com/cityofaustin/atd-data-tech/issues/17956

Testing

URL to test:

Deploy Preview with filters applied

Steps to test:

Add more than one filter to the advanced search filters. Apply filters Click on the Matching all filters chip. Confirm that it switches to any filters, the url params update (the end of the params says isOr=true) and the search results update. Click again! Search goes back to filtering on all, url param updates and search results update.

Screenshot 2024-08-29 at 9 34 51 AM


Ship list

chiaberry commented 3 weeks ago

@johnclary clicking them how you delete them, hmm thinking about how to be able to open or edit them but also retain the delete capability

chiaberry commented 3 weeks ago

Thanks for the set state discussion! I am going to merge this so testing can continue

mddilley commented 3 weeks ago

@johnclary I made notes to make issues out of your suggestion about clicking the filter chips to get to the dropdown, and the delete modal spinner one too. great stuff and wanted to say it out loud - thank you!

johnclary commented 3 weeks ago

thanks, Mike! to Chia's point, if having two different click interactions on a small little chip is too much, maybe moving the advanced search toggle to left (like swapping it with the inert search icon). I dunno! thanks for entertaining this idea.