[openstreetmap/openstreetmap-website] Add 'Load more' button that loads newer changesets to history pages (PR #5808)

Anton Khorev notifications at github.com
Sun Mar 16 00:30:02 UTC 2025


Going to be useful if #5805 is merged.

![image](https://github.com/user-attachments/assets/433f9fd4-3ca1-49ef-ada5-930854f46e0b)

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

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

-- Commit Summary --

  * Switch from 'max_id' to 'before' parameter in history lists
  * Add 'before' parameter to history pages
  * Add 'after' parameter to history pages

-- File Changes --

    M app/assets/javascripts/index/history.js (34)
    M app/controllers/changesets_controller.rb (28)
    M app/views/changesets/history.html.erb (2)
    M app/views/changesets/index.html.erb (30)
    M test/controllers/changesets_controller_test.rb (43)
    M test/system/history_test.rb (58)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list