[openstreetmap/openstreetmap-website] Newer/Older Version buttons in element history (PR #6117)

Anton Khorev notifications at github.com
Thu Jun 19 00:52:11 UTC 2025


![image](https://github.com/user-attachments/assets/24a039f9-e2f3-41d9-8e26-5b7c25ffbc3c)

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Allow to specify cursor column in get_page_items
  * Add older/newer element versions buttons
  * Add before/after params to version history links
  * Update element versions list using Turbo streams

-- File Changes --

    M app/controllers/concerns/pagination_methods.rb (20)
    M app/controllers/old_elements_controller.rb (2)
    M app/controllers/old_nodes_controller.rb (12)
    M app/controllers/old_relations_controller.rb (7)
    M app/controllers/old_ways_controller.rb (7)
    M app/views/old_elements/index.html.erb (30)
    A app/views/old_elements/index.turbo_stream.erb (33)
    M config/locales/en.yml (2)
    A test/system/element_history_test.rb (53)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list