Repository navigation
fix(cmux-next): hide access grant count from pill - #21575
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
|
Visual preview of 626479a: in the maintainers' private review feed. |
|
Bead |
0e6ae81 to
dab1033
Compare
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
dab1033 to
47d8762
Compare
|
Skipping the merge: an independent review of head 47d8762 found that this breaks a gallery play the PR did not update. Blocking: The component change itself is correct, and the 6 tests in |
|
Found 10 test failures on Blacksmith runners: Failures
|
|
red: web / Web status; do not merge until green; see lane-rules |
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Unclear: CI failed on
Not re-run automatically: Written by
Agents: |
|
|
…play check The accessGrants play still required .acpmux-access-grant-count on the Mode trigger, which this PR removed; it now asserts the trigger shows no count. The .acpmux-access-grant-count CSS rule had no element left to style. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- regenerated Packages/macOS/CmuxNext/ci-target-graph.json - vp fmt webviews/src/agent-session/acpmux/replyHref.ts - vp fmt webviews/src/pages/markdown/README.md - vp fmt webviews/src/pages/markdown/links.ts - vp fmt webviews/test/markdown-cmux-app-links.test.ts Autofix-Run: https://github.com/manaflow-ai/cmux/actions/runs/39211834367
…8099 # Conflicts: # webviews/src/agent-session/acpmux/replyHref.ts # webviews/src/pages/markdown/links.ts
|
Merging at f03bb1b. It merges feat-cmux-next 4bc289e and resolves the The remaining reds are inherited from feat-cmux-next. This PR changes only 4 webviews files.
|
…ser-access-pill # Conflicts: # webviews/test/access-chip-pending-warning.test.tsx
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
[Low impact] This PR appears safe to merge. SummaryRemoves the grant count from the Agent Chat access pill.
Review was based on code inspection. Tests and visual checks were not run. Reviews (1) · Last reviewed commit: "Merge remote-tracking branch 'origin/fea..." · Reviewed by Greptile |
|
Shipped in:
|
Summary
The Agent Chat access pill showed the number of granted permissions beside the current mode, which made the compact footer wider without adding an action. The pill now keeps its mode label and lock/shield affordance while leaving grant details in the menu.
Testing
cd webviews && bun test test/access-chip-pending-warning.test.tsx test/composer-chip-press.test.ts test/composer-row-layout.test.ts test/composer-row-fit.test.ts— 9 passed, 2 browser-lane tests skipped because they require CI/Freestyle.cd webviews && bun run typecheck— no type errors in 1,514 files.c3822b809d6; it failed against the old count span. The fix is0e6ae8101be.python3 scripts/verify-local.pypreflight selected 30,166 paths because this feature base is behindorigin/main; it was interrupted during the unrelated Swift syntax sweep. The scoped web checks above are the executed evidence for this two-file web change.Changelog
Fixed: The Agent Chat access pill no longer shows a grant count; grant details remain available in its menu.
Proof
The focused DOM test renders a granted access state and verifies that the compact pill has no count while retaining its mode label.
Checklist
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Hides the access grant count from the Agent Chat composer pill so the compact footer stays narrow; grant details remain available in the access menu.
Bug Fixes
New Features
cmux://links open in the app.Updated the access-grant gallery play and test coverage to match the new no-count pill behavior.
Written for commit f03bb1b. Summary will update on new commits.