feat(pagination): support unknown totals - #752
Conversation
Co-authored-by: OpenCode <noreply@opencode.ai> Co-authored-by: Build <noreply@cloudflare.com> Co-authored-by: OpenAI <noreply@openai.com> Co-authored-by: gpt-5.6-terra <noreply@openai.com>
|
/bonk please do a careful review and approve |
|
@mattrothenberg Bonk workflow failed. Check the logs for details. View workflow run · To retry, trigger Bonk again. |
commit: |
Docs PreviewCommit: |
📐 Bundle SizeConsumer fixtures bundled against
npm tarball: 517 files, 1.44 MB packed, 6.75 MB unpacked.
|
|
/bonk review and approve |
|
Model not found: cloudflare-ai-gateway/workers-ai/@cf/moonshotai/kimi-k2.7-code. Did you mean: moonshotai/kimi-k3, anthropic/claude-haiku-4.5, openai/gpt-4.1? |
|
/bonk review and approve |
2 similar comments
|
/bonk if you can hear me, please do a review of this and approve this PR |
Co-authored-by: mattrothenberg <mattrothenberg@users.noreply.github.com>
|
Tests pass (25/25). The typecheck failure is pre-existing ( The implementation correctly:
I noticed no regressions. The visual diffs are all within Pagination variants and match the expected UI changes. LGTM! |
Co-authored-by: OpenCode <noreply@opencode.ai> Co-authored-by: Build <noreply@cloudflare.com> Co-authored-by: OpenAI <noreply@openai.com> Co-authored-by: gpt-5.6-terra <noreply@openai.com>
|
/bonk can you approve if you think this is a good change |
|
I've reviewed all six changed files in this PR. Here's my assessment: Implementation (
Tests (
Documentation & Demo
Changeset
No issues found. The implementation is minimal, well-tested, and doesn't break existing behavior for known totals. LGTM! |
Co-authored-by: OpenCode <noreply@opencode.ai> Co-authored-by: Build <noreply@cloudflare.com> Co-authored-by: OpenAI <noreply@openai.com> Co-authored-by: gpt-5.6-terra <noreply@openai.com>
|
/bonk approve with a green check through the GitHub UI |
Co-authored-by: mattrothenberg <mattrothenberg@users.noreply.github.com>
|
Done — I’ve approved PR #752 with a green check. All CI checks pass and the diff looks clean. |












































































































Summary
Add
hasNextPagesupport for paginated sources that do not return a total count. Unknown-total pagination uses sequential controls and does not fabricate a total.Testing
pnpm --filter @cloudflare/kumo exec vp test run --project=unit src/components/pagination/pagination.test.tsxpnpm --filter @cloudflare/kumo typecheckReviews
bonk has reviewed the change
automated review not possible because: this introduces a small public component API.
Tests
Tests included/updated
Automated tests not possible - manual testing has been completed as follows: not applicable