Closed westnordost closed 1 year ago
Hi @westnordost - thank you for raising this. Indeed, this should be done. Most of it can be solved with a bit of css. Let me dive in!
We have been brainstorming a little about this. Going forward with this will take some time which we currently do not have. I found this library https://mui.com/material-ui/react-drawer/ which we now use for the range sliders, too. The drawers look pretty decent and they could help us move towards a responsive layout - thoughts? Is there anything you could and would like to pick up here @georg-d @westnordost ?
Can't say anything about the technical side, but I do think that concept-wise, using a sidebar (aka drawer aka sheets) is a good way to build a layout that works well in a wide range of window sizes, especially when used in combination with a map.
The app's layout is a bit of a mess on phone screens, see:
Notes / Possible solutions / Thoughts:
This feature request was triggered by https://github.com/streetcomplete/StreetComplete/issues/3905 , a request to add the valhalla demo to the list of useful OpenStreetMap showcase links in StreetComplete.