[openstreetmap/openstreetmap-website] Enable scrollable pagination for changeset elements (PR #6316)
Anton Khorev
notifications at github.com
Tue Aug 12 01:37:15 UTC 2025
Part 3 of https://github.com/openstreetmap/openstreetmap-website/pull/6299.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6316
-- Commit Summary --
* Add load elements methods for changeset controller
* Add elements per page constant for changeset controller
* Add element_range_values helper
* Add element_pages_count helper
* Use scrollable pagination for changeset elements
* Read cached changeset element numbers
* Link to current pages from changeset element badges
-- File Changes --
M app/assets/javascripts/index/changeset.js (10)
M app/controllers/changesets_controller.rb (57)
M app/views/changesets/_elements.html.erb (2)
M app/views/changesets/_paging_nav.html.erb (26)
M app/views/changesets/show.html.erb (6)
M test/system/changeset_elements_test.rb (26)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6316.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6316.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6316
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6316 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250811/a8685114/attachment-0001.htm>
More information about the rails-dev
mailing list