Give Users a directory page and rebuild the admin lists around the table - #767
Merged
Conversation
The admin dashboard was carrying the user directory as a panel beneath the stats, so the one table people actually work in was the hardest to reach and the smallest thing on screen. Users now has its own page alongside Organizations and Projects, and all three are built as list views rather than tables dropped onto a page. - New /admin/users route; the dashboard keeps only stats and analytics. - AdminListPage: title, row count and filters in one header bar, rows scrolling beneath a pinned table header, paging pinned at the bottom. The document no longer scrolls - only the rows do. - AdminDataTable gains a 'page' variant and column meta for width and alignment, so short columns stop giving their slack to Email. - Projects surfaces the creator it was already fetching and never rendering. - Table primitive takes containerClassName; its internal overflow-x wrapper is the sticky ancestor, so the scroll area has to be set there. Claude-Session: https://claude.ai/code/session_01LqxkXwhjRDsJ1N9cBYpU1n
|
Warning Review limit reachedNext included review available in 36 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (14)
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 |
This was referenced Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The admin dashboard was carrying the user directory as a panel beneath the stat cards, so the one table people actually work in was the hardest to reach and the smallest thing on screen. Users now has its own page alongside Organizations and Projects, and all three are rebuilt as list views rather than tables dropped onto a page.
Changes
/admin/usersroute. The dashboard keeps only the stat row and analytics; the sidebar's Directory group is now Users / Organizations / Projects, and the special case that kept Dashboard lit on user routes is gone.AdminListPage. Title, total row count and filters in one header bar, rows scrolling beneath a pinned table header, paging pinned at the bottom. The document no longer scrolls - only the rows do.AdminDataTablegains apagevariant and per-columnmetafor width and alignment, so the short columns stop handing all their slack to Email and counts line up on their digits.OrgRow.plan, which the server never returned.containerClassName. Its internaloverflow-x-autowrapper computesoverflow-y: auto, which makes it the sticky ancestor, so the scroll area has to be set there or the sticky header silently does nothing.[&:has([role=checkbox])]:pr-0rewritten canonically ashas-[[role=checkbox]]:pr-0.Verification
Typecheck, lint, format, 308 web tests and the build all pass. The layout was checked in the browser against 100 seeded users, 12 orgs and 22 projects rather than assumed: the document does not scroll, the rows do, and 20 rows are visible at once.
admin-flow.spec.tsfollows the route move - back links now assertBack to Users, and the dashboard stat assertions navigate to/adminexplicitly.Not in this PR
Making the org detail page useful (members and projects rows, demoting the billing reconciliation panel out of the landing view) is the follow-up.
https://claude.ai/code/session_01LqxkXwhjRDsJ1N9cBYpU1n