[openstreetmap/openstreetmap-website] Search forms redesign (#3123)

Anton Khorev notifications at github.com
Mon Mar 17 16:59:13 UTC 2025


AntonKhorev left a comment (openstreetmap/openstreetmap-website#3123)

> > * there is no clue of what the dropdown is for, what OSRM, GraphHopper, and Valhallah are
> 
> Do you think an `optgroup` with a `label` and a `title` on the `select` would be enough hints?

`optgroup` is probably a good idea. Maybe the `title` will be unnecessary.

> Probably, as the Nominatim [usage policy](https://operations.osmfoundation.org/policies/nominatim/) prohibits autocompleting results, so that can't as easily be added.

And you can also get rate-limited on routing engines, so those are questionable:

> > * pressing the go button during a calculation seemed to break the route that was beeing processed (could not reproduce today though)
> > * triggerring the calculation as soon as two locations are selected, a location is changed, the transport mode is changed, or the routing engine is changed
> > * removing the go button

> > * The close button is a bit too close the reverse directions button and the input form
> 
> Sticky close buttons have been introduced since, maybe reusing that style could add more separation?

#5817, although it doesn't add a lot of space. Previously there was more, see #5288, then #5765.

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

Message ID: <openstreetmap/openstreetmap-website/issues/3123/2730243636 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250317/0da827ec/attachment-0001.htm>


More information about the rails-dev mailing list