Repository navigation
chore(acpmux): delete the unmounted cascade and drill model pickers - #21930
Conversation
ModelPickerCascade and ModelPickerDrill are mounted nowhere (the composer's chip renders ModelPicker), and modelMenuNodes, MenuLevel, MenuRow and useMenuTree served only them. Their CSS goes too, with the gallery-coverage and ui-rules entries and the two popup tests' references. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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 |
ModelPickerShell and acpmux's useHoverIntent were mounted or imported nowhere, and modelPickerLayout's menu handle, layout chooser and row constants served only the cascade and drill. Stale comments and the idle ModelPicker gallery-coverage owner go too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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 red: web / Web status; do not merge until green; see lane-rules
Agents: |
|
Agents: |
|
Bead |
This comment has been minimized.
This comment has been minimized.
The deleted cascade carried the file's last raw z-index. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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/39212295577
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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/39217511936
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. |
|
Found 1 test failure on Blacksmith runners: Failure
|
# Conflicts: # webviews/src/agent-session/acpmux/replyHref.ts # webviews/src/pages/markdown/links.ts
… read Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Low impact] The PR appears safe to merge; the deleted picker paths have no surviving callers. SummaryRemoves the unused cascade, drill, and shell pickers, plus their helpers and CSS.
Acknowledgment: teamleaderleo explicitly left the existing recent-effort forwarding issue alone because another PR is editing Reviews (1) · Last reviewed commit: "Merge remote-tracking branch 'origin/fea..." · Reviewed by Greptile |
|
Verification at Base reds in CI: |
|
Shipped in:
|
Summary
The click-through lane found that
ModelPickerCascade.tsxandModelPickerDrill.tsxare mounted nowhere. The composer's model chip rendersModelPicker.tsx. This deletes the two layouts and everything only they used, 1,380 lines in all:ModelPickerCascade.tsx,ModelPickerDrill.tsxmodelMenuNodes.tsx:pickerData,menuNodes,harnessNodeand the recentslandCombopathMenuLevel.tsx,MenuRow.tsx,useMenuTree.tsmodelPicker.css: the cascade and drill blocks, breadcrumbs, the back button, the panel/detail/chevron/open/more/entry rows, the.acpmux-mp-subanimation, and the nested cascade popup surface.styles.css:.acpmux-menu-search*and.acpmux-menu-icon.srcandtestfor any other use, including dynamically built class names.ModelPickerShell.tsxwas already mounted nowhere.useHoverIntent.tshad no importers.modelPickerLayout.ts:useMenuHandle,ModelMenuProps,MenuHandle, the layout chooser (pickerLayout,PickerLayout,menuRoom) and the row constants.gallery-coverage.allowlist.jsonandui-rules.pending.json, along with the now-idleagent-session/acpmux/ModelPickerowner prefix.popup-surface.test.tsandpopup-one-hairline.test.tsno longer list the cascade submenu's popup surface.The dead path also had a latent bug, which goes with it:
ComposerPickerspassesonLand={(m) => land(m)}, which would drop a recent combo's effort. The prop still exists on the shipping picker's props type. I've leftComposerPickers.tsxalone because #21853 is editing it.No visible change. The shipping picker uses none of these files or rules.
Testing
bun testonpopup-surface,popup-one-hairline,model-picker-height,new-tab-picker-clip,gallery-coverageandui-rules: all pass (gallery-coverage passes once the idle owner prefix is removed).tsc --noEmit: no new errors. The one remaining error is the existing missinghome-inbox-cloud-cases.jsonfixture.oxlintonsrc/agent-session/acpmuxandtestis clean.Changelog
none
🤖 Generated with Claude Code