Repository navigation
fix(platform): paginate the organization members table - #1796
Conversation
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
|
Warning Review limit reached
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 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 configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
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.
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
MemberTablefrom a no-opinfiniteScrollto theDataTable'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-awareclean. 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