Skip to content

feat: export Users page as a component and consume it in apps/admin#1390

Open
paanSinghCoder wants to merge 6 commits intofeat/export-preferences-pagefrom
feat/export-users-page
Open

feat: export Users page as a component and consume it in apps/admin#1390
paanSinghCoder wants to merge 6 commits intofeat/export-preferences-pagefrom
feat/export-users-page

Conversation

@paanSinghCoder
Copy link
Contributor

@paanSinghCoder paanSinghCoder commented Feb 18, 2026

Move Users page from app to lib (admin)

Summary

  • Users UI moved from apps/admin/src/pages/users to lib/admin/views/users and exposed as a reusable view.

Lib (web/lib/admin/views/users)

  • UsersView with props: selectedUserId?, onCloseDetail?, onExportUsers?, onNavigateToUser?.
  • List vs detail driven by selectedUserId; no Outlet in the lib.
  • List columns use <Link> for user routes; app controls navigation via onNavigateToUser.

App (apps/admin)

  • UsersPage uses UsersView with:
    • selectedUserId from route params
    • onExportUsers for CSV export
    • onNavigateToUsernavigate(\/users/${id}/security`)`
  • Nested routes (users, users/:userId, users/:userId/security) all render UsersPage, which delegates to UsersView.

Why

  • Reuse the same Users UI across apps; routing and navigation stay in the host app.

@vercel
Copy link

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
frontier Ready Ready Preview, Comment Feb 19, 2026 9:51am

@coderabbitai
Copy link

coderabbitai bot commented Feb 18, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@paanSinghCoder paanSinghCoder changed the title feat: export users page feat: export Users page as a component and consume it in apps/admin Feb 18, 2026
@paanSinghCoder paanSinghCoder marked this pull request as ready for review February 19, 2026 02:50
@coveralls
Copy link

coveralls commented Feb 19, 2026

Pull Request Test Coverage Report for Build 22176755919

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 38.457%

Totals Coverage Status
Change from base Build 22176745829: 0.0%
Covered Lines: 16200
Relevant Lines: 42125

💛 - Coveralls

@paanSinghCoder paanSinghCoder self-assigned this Feb 19, 2026
@paanSinghCoder paanSinghCoder added Do not merge Label to indicate that the PR is not ready to be merged even though might be (or not) approvals. labels Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Do not merge Label to indicate that the PR is not ready to be merged even though might be (or not) approvals.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments