Skip to content

fix(platform): paginate the organization members table - #1796

Merged
yannickmonney merged 2 commits into
mainfrom
fix/org-members-pagination
Jun 1, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
fix/org-members-pagination

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What

The organization members table showed all members at once with no pagination (#1463) — unwieldy and slow to scan as an org grows.

Change

Switch MemberTable from a no-op infiniteScroll to the DataTable's client-side pagination (clientSide: true, 10/page, with a page-size selector). It paginates the already-fetched set after the existing client-side search + sort, so filtering still narrows the whole list and pagination applies to the result.

No backend change — the members query already returns the (≤100) set; this is purely a presentation improvement using the DataTable's built-in pagination footer.

Testing

tsc --noEmit + oxlint --type-aware clean. Suggested quick visual check: open Settings → Members with >10 members, confirm the pager + page-size selector work and that search/sort interact correctly with paging.

Closes #1463

The members table rendered every member in one ungrouped list (no
pagination), which gets unwieldy as orgs grow. Switch the table from a
no-op infiniteScroll to client-side pagination (10/page with a page-size
selector) over the already-fetched + filtered/sorted set, so the list
stays readable and quick to scan. Search and sort still apply before
pagination.

Closes #1463
@coderabbitai

coderabbitai Bot commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@yannickmonney, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 56 minutes and 14 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5471dda0-4bbd-4f52-9b52-b59ad010646f

📥 Commits

Reviewing files that changed from the base of the PR and between 6bce8ed and 52d701a.

📒 Files selected for processing (5)
  • services/platform/app/components/ui/data-table/data-table-pagination.tsx
  • services/platform/app/features/settings/organization/components/member-table.tsx
  • services/platform/messages/de.json
  • services/platform/messages/en.json
  • services/platform/messages/fr.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/org-members-pagination

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

The page-size and page-number selects in DataTablePagination rendered as
Radix comboboxes with no accessible name (axe button-name). Add
aria-labels (existing 'Rows per page' + new 'Go to page' key in en/de/fr)
so the org members table — first consumer of client-side pagination —
passes its axe audit, and every paginated table benefits.
@yannickmonney
yannickmonney merged commit 967bf37 into main Jun 1, 2026
28 checks passed
@yannickmonney
yannickmonney deleted the fix/org-members-pagination branch June 1, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improvement: There is no pagination on the organization page

1 participant