You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An audit of every view/item/context and view/title menu entry contributed by the Codev VS Code extension surfaced three concrete UX gaps in the sidebar:
The Builders row context menu has accumulated 10+ entries across four groups (inline, 1_primary, 2_worktree, 3_dev). Right-clicking a busy row produces a long, scrolling menu that's hard to scan.
The most destructive builder action — Cleanup Builder — is palette-only (commands/cleanup.ts), asymmetric with every other builder action which lives on the row context menu.
Two worktree-open commands sit next to each other in the Builders menu (Open Worktree in New Window and Open Worktree Folder) with titles that don't convey the actual difference — one opens VS Code on the worktree, the other reveals it in the OS file manager.
Scope (single PR consolidating P1, P3, P4)
These three sub-refactors are all sidebar UX polish, share package.json plumbing, and naturally land in one PR.
P1 — Reduce Builders context-menu density
Inventory: the Builders row context menu currently contains (per audit):
Goal: move infrequently-used actions to a submenu ("More Actions ▸") or to palette-only. Keep the top-level menu focused on the actions a reviewer takes >50% of the time on a row: Open Terminal, View Diff, Run Dev Server, Approve Gate (when blocked).
P3 — Add Cleanup Builder to the Builders context menu
Add a codev.cleanupBuilder entry to the view/item/context menu for Builders, in a new 9_destructive@1 group (bottom-most, visually separated).
Add a confirmation modal: Cleanup builder #<id> "<title>"? This deletes the worktree branch. with Cleanup / Cancel. The destructiveness of git worktree remove warrants explicit confirmation.
Keep the palette entry; the row menu is an additional surface, not a replacement.
P4 — Rename ambiguous worktree-open commands
Current titles: Codev: Open Worktree in New Window and Codev: Open Worktree Folder.
Proposed titles:
codev.openWorktreeWindow → Codev: Open Worktree in VS Code (it opens a new VS Code window on the worktree)
codev.openWorktreeFolder → Codev: Reveal Worktree in Finder (or Explorer on Windows / Files on Linux — use vscode.workspace.isUntitled-style platform detection or a generic Reveal Worktree in File Manager).
Update both contributes.commands titles and the corresponding view/item/context menu entries.
Acceptance criteria
P1
Builders row context menu reduced to ≤6 visible entries by default (excluding the inline approve icon).
A "More Actions ▸" submenu (or equivalent) houses the demoted entries.
Submenu groups preserve the existing logical grouping (worktree-open variants, setup, stop).
P3
codev.cleanupBuilder appears on every builder row in the Builders view, bottom group.
Invoking it shows a confirmation modal naming the builder; declining the modal does nothing.
Palette entry remains unchanged.
P4
codev.openWorktreeWindow title says explicitly "in VS Code" (not "in New Window").
codev.openWorktreeFolder title says "Reveal" (not "Open") and names the OS file manager when feasible.
All menu locations referencing these commands pick up the new titles.
Removing the inline@1 Approve Gate icon (it duplicates 1_primary@2, but the icon is the most discoverable surface for the most common gated action — intentionally kept).
Adding new sidebar views.
Source
Derived from the popup-actions audit run on 2026-05-21 across packages/vscode/package.json (contributes.menus) and underlying command handlers. ~30 menu entries inventoried; this issue covers the three concrete UX gaps that audit identified (P1, P3, P4 in the audit synthesis).
Problem
An audit of every
view/item/contextandview/titlemenu entry contributed by the Codev VS Code extension surfaced three concrete UX gaps in the sidebar:inline,1_primary,2_worktree,3_dev). Right-clicking a busy row produces a long, scrolling menu that's hard to scan.commands/cleanup.ts), asymmetric with every other builder action which lives on the row context menu.Open Worktree in New WindowandOpen Worktree Folder) with titles that don't convey the actual difference — one opens VS Code on the worktree, the other reveals it in the OS file manager.Scope (single PR consolidating P1, P3, P4)
These three sub-refactors are all sidebar UX polish, share package.json plumbing, and naturally land in one PR.
P1 — Reduce Builders context-menu density
inline@1: Approve Gate (icon button)1_primary@1: Open Builder Terminal1_primary@2: Approve Gate (duplicate of inline)1_primary@3: View Plan File (PIR-only today; see vscode: generalize viewPlanFile to siblings (viewSpecFile, viewReviewFile) with protocol-aware menu visibility #793 for generalization)2_worktree@0: View Diff2_worktree@1: Open Worktree in New Window2_worktree@2: Open Worktree Folder3_dev@1: Run Worktree Setup3_dev@2: Run Dev Server3_dev@3: Stop Dev ServerRun Worktree Setup,Stop Dev Server(often redundant with the status-bar item from vscode: surface the running dev server's identity (status-bar item + interpolated Stop command label) #788), and one of the two worktree-open commands should move into the submenu.P3 — Add Cleanup Builder to the Builders context menu
codev.cleanupBuilderentry to theview/item/contextmenu for Builders, in a new9_destructive@1group (bottom-most, visually separated).Cleanup builder #<id> "<title>"? This deletes the worktree branch.withCleanup/Cancel. The destructiveness ofgit worktree removewarrants explicit confirmation.P4 — Rename ambiguous worktree-open commands
Codev: Open Worktree in New WindowandCodev: Open Worktree Folder.codev.openWorktreeWindow→Codev: Open Worktree in VS Code(it opens a new VS Code window on the worktree)codev.openWorktreeFolder→Codev: Reveal Worktree in Finder(orExploreron Windows /Fileson Linux — usevscode.workspace.isUntitled-style platform detection or a genericReveal Worktree in File Manager).contributes.commandstitles and the correspondingview/item/contextmenu entries.Acceptance criteria
P1
P3
codev.cleanupBuilderappears on every builder row in the Builders view, bottom group.P4
codev.openWorktreeWindowtitle says explicitly "in VS Code" (not "in New Window").codev.openWorktreeFoldertitle says "Reveal" (not "Open") and names the OS file manager when feasible.Out of scope
inline@1Approve Gate icon (it duplicates1_primary@2, but the icon is the most discoverable surface for the most common gated action — intentionally kept).Source
Derived from the popup-actions audit run on 2026-05-21 across
packages/vscode/package.json(contributes.menus) and underlying command handlers. ~30 menu entries inventoried; this issue covers the three concrete UX gaps that audit identified (P1, P3, P4 in the audit synthesis).