[openstreetmap/openstreetmap-website] Clean module scoping (PR #7174)

Marwin Hochfelsner notifications at github.com
Tue Jun 23 19:12:51 UTC 2026


Continuing #7173, here's a collection of some cleanup touches that didn't feel essential in #7147.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Rescope ContextMenu
  * Collapse OSM.Directions namespace
  * Remove directions submodules from OSM scope
  * Remove history submodules from OSM scope
  * Remove dangling top-level block

-- File Changes --

    M app/assets/javascripts/index/contextmenu.js (6)
    M app/assets/javascripts/index_modules/directions.js (9)
    M app/assets/javascripts/index_modules/directions/endpoint.js (3)
    M app/assets/javascripts/index_modules/directions/engines.js (6)
    M app/assets/javascripts/index_modules/directions/engines/fossgis_osrm.js (6)
    M app/assets/javascripts/index_modules/directions/engines/fossgis_valhalla.js (6)
    M app/assets/javascripts/index_modules/directions/engines/graphhopper.js (6)
    M app/assets/javascripts/index_modules/directions/route-output.js (3)
    M app/assets/javascripts/index_modules/element.js (196)
    M app/assets/javascripts/index_modules/history.js (3)
    M app/assets/javascripts/index_modules/history/changesets-layer.js (30)
    M test/system/directions_test.rb (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list