Twin-Cities-Mutual-Aid / twin-cities-aid-distribution-locations

A webapp to coordinate aid and care in the Twin Cities.
43 stars 32 forks source link

Issue 99 - Collapsible filter/legend #241

Closed amaxama closed 4 years ago

amaxama commented 4 years ago

What

Add collapsability to top filters and toggle legend on map when filters are collapsed

Why

Issue #99

Ensure the following interactions work as expected. Please test using a mobile form factor.

Check the app in the following web browsers:

amaxama commented 4 years ago

Here's an example of what it looks like (animation is slow cause my computer is laggy, it should be a bit more smooth than that): filter-legend-toggle

mc-funk commented 4 years ago

So exciting! I’m wondering if there might be.a better placement for the toggle caret — on mobile for me I am struggling to tap the caret Instead of the checkbox it’s next to. Maybe it would be worth nudging down the font of TCMAP header and getting them on the same line, and make it a little bigger to boot?

amaxama commented 4 years ago

@mc-funk Yeah... I played around with a few places to put it..I had originally thought of putting it in line with the title but I actually kind of want to put a kebab menu there for overflow actions like "refresh"....I could try putting it over to the right though and see how that goes. Regardless, I just tried it on mobile and the touch area that picks up tap input is definitely not big enough so I'm going to increase that for sure. I'll try that first and see if that makes a difference for you and then I can try it over to the right if it's sill not great