ParkingReformNetwork / reform-map

A map of where parking reforms have happened.
https://parkingreform.org/mandates-map/
MIT License
6 stars 8 forks source link

Add no requirements toggle #286

Closed Eric-Arellano closed 1 year ago

Eric-Arellano commented 1 year ago

Closes https://github.com/ParkingReformNetwork/reform-map/issues/187. Turns out this feature was really important.

This toggle is simply another filter, but it appears on its own rather than being in the filter popup. That's a little weird, but we need to keep it for now until we can redesign the UI.

Also fixes the border color for the filter icon to match Leaflet's gray color.

Captura de pantalla 2023-10-15 a la(s) 10 02 14 p m

The UI is a little awkward because search will cover the toggle, just like the old UI. Tony said that's fine for now.

Also, it's only a checkbox and not yet a toggle to unblock adding this critical feature. We need to switch to a toggle in https://github.com/ParkingReformNetwork/reform-map/issues/285.

tunglinn commented 1 year ago

Looks good. I was gonna say the checkbox is going to be the other way around for the filters, but we'll eventually switch it to a toggle so all's good.