[Feature] Cursor based pagination [#OSF-8565]#7715
[Feature] Cursor based pagination [#OSF-8565]#7715mfraezz wants to merge 2 commits intoCenterForOpenScience:developfrom
Conversation
396ea80 to
628eea2
Compare
|
This is a pretty significant, backwards-incompatible change (worthy of more than a minor version bump). I wonder if we should keep the current pagination scheme to preserve compat but allow changing the pagination style via a query parameter. Looks like there's even a package for that. Thoughts, @brianjgeiger ? |
|
The loading indicator for the log feed got lost with this change. That said, the log feed was using the now-deprecated OSF loading spinner. Two options:
|
sloria
left a comment
There was a problem hiding this comment.
Pass finished for now. See if you can fix the loading indicator for now. We'll discuss whether or not to keep backwards compat for the paging style.
|
According to discussion with @brianjgeiger sometime over the past two weeks, this does not merit an API version bump. The values for linked references change, yes, but the rationale is that the client should only be following the I'll fix the loading UI |
|
@mfraezz Ah ok, thanks for the clarification. I wasn't sure if the keys of the pagination object were changing here or not. If not, then I agree: no need to bump versions. |
7644511 to
757ff51
Compare
757ff51 to
17c561d
Compare

Purpose
Improve
NodeLogListperformanceChanges
rest_framework.pagination.CursorPaginationNodeLogListSide effects
None expected
Ticket
[OSF-8565]