[openstreetmap/openstreetmap-website] Add functionality to reopen directions (PR #6446)

mjourdan notifications at github.com
Sat Jan 10 20:34:01 UTC 2026


mjourdan left a comment (openstreetmap/openstreetmap-website#6446)

Yes it does, though that's not all, so I'll try to sum up the changes.

Strictly related to search and directions:
- (mobile) search and directions forms are moved out of the navigation menu, and accessible through buttons on the map instead
- (mobile) search and directions button reveal a popover, which shows both forms and results
- a "collapse" button is used for hiding the popover
- resizing would be a thing only a thing if we were going to implement the bottom sheet pattern rather than the popover
- location results (bot for search and directions) appear in dropdown lists connected to their input fields. This allows people to select the most relevant location in the directions form, rather than being force to use the first matches.
- (not shown on mockups) selecting a location from the search results offers a mean to get to the location details
- when showing details about a location, the popover offers to navigate back to the results

As we add two more buttons on the map, the changes above depend on some more changes, mainly to avoid cluttering on mobile (these can perhaps be tracked through a separate issue, but here they are):
- move language selection to the navigation menu
- move layers and legend buttons to the navigation bar
- reorganize the navigation menu (not shown on mockups)
- move the zoom controls near to the scale line, as the former affect directly the latter
- move the scale line above the copyright notice, so it is not hidden behind the bottom leaflet on mobile

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6446#issuecomment-3733494941
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6446/c3733494941 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260110/8be0b0ed/attachment-0001.htm>


More information about the rails-dev mailing list