NYCPlanning / labs-zola

NYC Planning's Zoning and Land Use App
https://zola.planning.nyc.gov
Other
75 stars 26 forks source link

Sidebar Visibility Toggle #1193

Open dhochbaum-dcp opened 3 months ago

dhochbaum-dcp commented 3 months ago

Add a button to the side of the layers menu that allows the user to toggle it between displayed and hidden.

image

->

image
jpiacentinidcp commented 2 months ago

Notes from email: Love this and I know many users will be happy about it. I have one design comment and one functionality comment.

Design wise, can we find a slightly more elegant UI component for the arrow tab? Ideally it would be slightly smaller and match the color and line weights of the current sidebar. The look could be similar to the X that appears at the top of the Tax Lot or Zoning District window on the right.

Functionality wise, we will need to look at the underlying mechanics, as it currently appears to ‘shift’ the entire screen off to the side, including the map object. This leaves a blank white bar on the right side of the browser frame. Ideally this functionality would not move the map at all, just shift the sidebar off screen and reveal more map space underneath.

horatiorosa commented 2 months ago

On hold to work on PFF feedback

TylerMatteo commented 2 months ago

@bmarchena Can you summarize where you're stuck on this? @dhochbaum-dcp once you have that, please take another look at this.