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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to