Skip to content

feat: Add Link pagination when possible - #63323

Open
CarlSchwan wants to merge 6 commits into
masterfrom
carl/pagination
Open

feat: Add Link pagination when possible#63323
CarlSchwan wants to merge 6 commits into
masterfrom
carl/pagination

Conversation

@CarlSchwan

Copy link
Copy Markdown
Member

This use a private trait to have a consistent behavior

  • Resolves: #

Summary

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@CarlSchwan CarlSchwan added this to the Nextcloud 35 milestone Aug 17, 2026
@CarlSchwan CarlSchwan self-assigned this Aug 17, 2026
@CarlSchwan
CarlSchwan requested a review from a team as a code owner August 17, 2026 19:13
@CarlSchwan
CarlSchwan requested review from Altahrim, come-nc, icewind1991 and sorbaugh and removed request for a team August 17, 2026 19:13
@CarlSchwan CarlSchwan added enhancement 3. to review Waiting for reviews labels Aug 17, 2026
@CarlSchwan
CarlSchwan force-pushed the carl/pagination branch 2 times, most recently from 20c89f9 to 7224dae Compare August 17, 2026 22:23
Comment thread lib/private/AppFramework/Http/PaginationTrait.php Outdated
Comment thread lib/public/AppFramework/Http/Response.php Outdated
Comment thread lib/private/AppFramework/Http/PaginationTrait.php Outdated
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 18, 2026
@susnux

susnux commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

so this only supports for numeric offset+limit pagination, right?
thinking of cursor based pagination used in some places

@nextcloud-bot nextcloud-bot mentioned this pull request Aug 20, 2026
This use a private trait to have a consistent behavior

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
…thods

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Unfortunately static has return type didn't fix it but it is still more
correct.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan
CarlSchwan force-pushed the carl/pagination branch 2 times, most recently from f405f94 to f262d34 Compare August 20, 2026 14:50
@CarlSchwan

Copy link
Copy Markdown
Member Author

so this only supports for numeric offset+limit pagination, right? thinking of cursor based pagination used in some places

Done, but we don't really use cursor based pagination a lot in server or at all :( I added that to user_status and also added an API to the new ORM stuff to make it easier #63441

@CarlSchwan
CarlSchwan force-pushed the carl/pagination branch 3 times, most recently from 024bb44 to 311b811 Compare August 20, 2026 15:01
Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants