[openstreetmap/openstreetmap-website] Hide routing submit button (PR #5960)

Marwin Hochfelsner notifications at github.com
Sun Apr 27 23:08:09 UTC 2025


Reorganises the routing form according to proposals D/E of https://github.com/openstreetmap/openstreetmap-website/issues/3123#issuecomment-803143179.

![localhost_3000_](https://github.com/user-attachments/assets/06e70ce8-89e9-42e0-835c-f0f5a4550385)

The submit button is only visually hidden, but can be tab-navigated onto.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5960

-- Commit Summary --

  * Prevent aborted requests from logging as errors
  * Move routing settings before endpoint fields
  * Hide submit button after reverse directions button
  * Group close button into settings
  * Use display grid to align the buttons on the right

-- File Changes --

    M app/assets/javascripts/index/directions.js (3)
    M app/assets/stylesheets/common.scss (7)
    M app/views/layouts/_search.html.erb (55)
    M test/system/directions_test.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5960.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5960.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5960 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250427/a6169255/attachment.htm>


More information about the rails-dev mailing list