[openstreetmap/openstreetmap-website] Add 'Load more' button that loads newer changesets to history pages (PR #5812)
Anton Khorev
notifications at github.com
Sun Mar 16 17:03:08 UTC 2025
If you get to the user's history page from the heatmap, it will start on a selected date. You can scroll down, press *Load more* and and load changesets that were created before the initially visible set. But what if you want to see changesets created after the date?
This PR adds a *Load more* button in frond of the changeset list, if there are any changesets that were opened after the ones in the list.
 
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5812
-- Commit Summary --
* Add 'after' parameter to history pages
* Preserve sidebar scroll position when prepending to history
-- File Changes --
M app/assets/javascripts/index/history.js (35)
M app/controllers/changesets_controller.rb (12)
M app/views/changesets/index.html.erb (26)
M test/controllers/changesets_controller_test.rb (25)
M test/system/history_test.rb (28)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5812.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5812.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5812
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5812 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250316/d15d08a1/attachment.htm>
More information about the rails-dev
mailing list