[openstreetmap/openstreetmap-website] Add pagination to Issues page (PR #5057)

David Tsiklauri notifications at github.com
Sun Aug 11 10:58:05 UTC 2024


I updated this PR to handle navigation using Turbo. It depends on Turbo Frames functionality. On my local machine all calls (first load and navigation) now need ~1.5s instead of ~8s. I tried to decrease loading time of navigation (like it was with the last JS solution ~200ms), but both, using Turbo Streams and custom partial rendering endpoint (like it was in the last solution), required extra JS code for good navigation history, so I sticked to the current simpler solution.

Current solution solves @gravitystorm 's comment:
> avoid having to define an extra page route

Thank you for linking your PRs, they were good examples.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5057/c2282717757 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240811/47eeec33/attachment.htm>


More information about the rails-dev mailing list