> Shouldn't we just be converting changesets to use the same pagination logic 
> as everything else

That depends on how significant are the differences between changeset elements 
and everything else. The differences are:

- Changesets have an upper bound on the number of elements. There can be a 
really large and growing number of traces etc. If you wanted to use numbered 
pages and go to page N, that N could be huge and you'll have to skip a huge 
number of record with `offset`. But for changeset elements N can't get higher 
than 10000 / page size.
- Changesets don't change once closed. For a list of traces it doesn't make 
mach sense to be on page 1, 2, 5 etc because new traces are added and old ones 
are pushed off the page. Changeset elements are not going to be pushed of their 
page.

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/5205/c2358372...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to