-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional Filters! #42
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Added styling! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really well done! Really liking the functional style for the data model and logic.
Nothing big to update/flag in the code and some things are "temp". There is this issue with the dropdown not layered correctly:
I think one accessibility issue Clare might bring up is keeping focus within the filter button and the elements inside its dropdown. Right now, when you tab through the filters, you just continue to the next element on the page (this is how I landed on the above visual bug).
My only comment is to set the dropdowns to a fixed width of 200px with a spacing of 32px between them, so that they have some breathing room. |
@apoorvakhanolkar would you be okay 230px for the filter width and 16px margin? At 200px the longer labels wrap in a way that I find hard to read |
Yes that's OK |
We decided to not worry about the tabbing/z index/focus issue until we get feedback from Clare about accessibility |
NB: to see the filters in action, head to the vercel preview and click on the advanced search button. clicking apply will show you the query that would be added to the url.
Basic overview:
honestly more than anything i would appreciate just folks clicking around and trying to break things! the expected behavior is a little kooky but I'm confident this work does what DFE does, for better or for worse.
I closed 3664 because i was getting very tangled going back and forth between the two branches. i incorporated the rest of yall's requests into this PR.