[openstreetmap/openstreetmap-website] Remove classic pagination (PR #5205)

Anton Khorev notifications at github.com
Thu Sep 12 17:10:36 UTC 2024


This removes classic pagination library:
- necessary parts of its `Paginator` class moved to controller's `ElementsPaginator`
- necessary parts of `PaginationHelper` module moved to `sidebar_classic_pagination` helper
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove classic pagination

-- File Changes --

    M app/controllers/changesets_controller.rb (69)
    M app/helpers/browse_helper.rb (43)
    M app/views/changesets/_elements.html.erb (4)
    M app/views/changesets/_paging_nav.html.erb (8)
    M app/views/changesets/show.html.erb (12)
    D config/initializers/classic_pagination.rb (33)
    D lib/classic_pagination/pagination.rb (422)
    D lib/classic_pagination/pagination_helper.rb (169)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list