Skip to content

web: remove the public /dashboard/admin page - #12110

Merged
lawrencecchen merged 3 commits into
mainfrom
feat-remove-public-dashboard-admin
Sep 8, 2026
Merged

lawrencecchen merged 3 commits into
mainfrom
feat-remove-public-dashboard-admin

Conversation

@lawrencecchen

@lawrencecchen lawrencecchen commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Removes https://cmux.com/dashboard/admin from the public site. The Pro access admin surface moved to the private cmux-admin app (https://cmux-admin.vercel.app/pro), which calls /api/admin/* with the admin's own Stack tokens, so those API routes, services/admin/*, and their tests stay.

Dropped: web/app/[locale]/dashboard/admin/, the client-side admin nav group in dashboard-shell.tsx (and its useUser read), the dashboard.admin namespace plus dashboard.nav.adminGroup/adminPro in en.json and ja.json, and the stale admin-pro-panel complexity baseline line.

Localization audit: only deletions; no new strings. Verified with tsgo --noEmit, eslint on the shell, lint:complexity, and bun test on the three admin test files (46 pass).

https://claude.ai/code/session_01NeVjt6atBS81jCeuzLxLD7


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Low Risk
UI and copy removal only; privileged mutations still go through existing server-gated admin APIs used by the separate admin app.

Overview
Removes the in-product Pro access admin UI from cmux.com so operators use the private cmux-admin app (https://cmux-admin.vercel.app/pro) instead. The billing skill doc now states there is no admin page on cmux.com and that non-admins get 403 on admin APIs only.

Deleted the whole web/app/[locale]/dashboard/admin/ tree (search, grants, roster, Stripe downgrade flows) and stripped the conditional admin nav from dashboard-shell.tsx, including the useUser / isAdminUser client check. Removed dashboard.admin and related dashboard.nav strings from en and ja, and dropped the grandfathered admin-pro-panel oxlint complexity baseline entry.

Unchanged: /api/admin/*, services/admin/*, and their tests remain for cmux-admin to call with admin Stack tokens.

Reviewed by Cursor Bugbot for commit 0b991a4. Bugbot is set up for automated code reviews on this repo. Configure here.


Summary by cubic

Removes the public /dashboard/admin Pro access page on cmux.com. The Pro access admin surface moved to the private cmux-admin app, which calls /api/admin/* with the admin's own Stack tokens.

  • Drops web/app/[locale]/dashboard/admin/, the client-side admin nav group in dashboard-shell.tsx (and its useUser read), and the stale admin-pro-panel complexity baseline line.
  • Removes the dashboard.admin namespace and dashboard.nav.adminGroup/adminPro strings from en.json and ja.json; no new strings are added.
  • Keeps the /api/admin/* routes, services/admin/*, and their tests for the cmux-admin app.
  • Points the billing skill doc at the private cmux-admin app and notes there is no admin page on cmux.com.

Written for commit 0b991a4. Summary will update on new commits.

Review in cubic

The Pro access admin surface now lives in the private cmux-admin app,
which calls /api/admin/* directly. Drop the dashboard page, its nav
group, the dashboard.admin message namespace, and the stale complexity
baseline entry. The API routes and their tests stay.

Claude-Session: https://claude.ai/code/session_01NeVjt6atBS81jCeuzLxLD7
@vercel

vercel Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cmux166 Ready Ready Preview Sep 8, 2026 10:20am UTC
cmux41 Ready Ready Preview Sep 8, 2026 10:20am UTC

@coderabbitai

coderabbitai Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 4dfe9011-b8c8-492f-8f63-0a40f624e279

📥 Commits

Reviewing files that changed from the base of the PR and between 5fda406 and 0b991a4.

📒 Files selected for processing (10)
  • skills/cmux-billing/SKILL.md
  • web/app/[locale]/dashboard/admin/admin-pro-list.tsx
  • web/app/[locale]/dashboard/admin/admin-pro-panel.tsx
  • web/app/[locale]/dashboard/admin/admin-pro-roster.tsx
  • web/app/[locale]/dashboard/admin/admin-search-context.tsx
  • web/app/[locale]/dashboard/admin/page.tsx
  • web/app/[locale]/dashboard/dashboard-shell.tsx
  • web/messages/en.json
  • web/messages/ja.json
  • web/oxlint-complexity-baseline.txt

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.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@lawrencecchen
lawrencecchen merged commit 9cbdb7c into main Sep 8, 2026
18 of 22 checks passed
@lawrencecchen
lawrencecchen deleted the feat-remove-public-dashboard-admin branch September 8, 2026 08:11
rustybret pushed a commit to rustybret/bmux that referenced this pull request Sep 8, 2026
92f8da5 Fix sidebar Sign In button and account avatar not rendering on Intel Macs (manaflow-ai#12126)
5a16fbb cloud: guest `cmux self` and `cmux vm ls` via GET /api/vm/self (manaflow-ai#12116)
9cbdb7c web: remove the public /dashboard/admin page (manaflow-ai#12110)
5fda406 coderouter: OpenAI and OpenRouter API keys as Responses providers (manaflow-ai#12111)
aerickson pushed a commit to aerickson/cmux that referenced this pull request Sep 13, 2026
* web: remove the public /dashboard/admin page

The Pro access admin surface now lives in the private cmux-admin app,
which calls /api/admin/* directly. Drop the dashboard page, its nav
group, the dashboard.admin message namespace, and the stale complexity
baseline entry. The API routes and their tests stay.

Claude-Session: https://claude.ai/code/session_01NeVjt6atBS81jCeuzLxLD7

* docs: point the billing skill at cmux-admin

Claude-Session: https://claude.ai/code/session_01NeVjt6atBS81jCeuzLxLD7

---------

Co-authored-by: Lawrence Chen <lawrence@manaflow.ai>

This branch was successfully deployed

2 active deployments
Preview – cmux41 — 0b991a4a Deployed Sep 8, 2026 by vercel[bot]
Preview – cmux166 — 0b991a4a Deployed Sep 8, 2026 by vercel[bot]
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.

2 participants