Repository navigation
Conversation
Adds user-defined lanes (e.g. "Waiting") after the status columns. Dragging a card into a lane parks it there until it is dragged back to a status column; an agent that asks a question still surfaces in Needs You. Lanes and placements live in global settings, so the in-window board, the pop-out and a restarted app agree. Pop-out edits relay to the main renderer, which prunes placements for closed panes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_014z3JQmFH1E9rdP6cTUdhFM
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
ELI5
The Agent Dashboard sorts agents into Needs You, Working and Done by itself. This lets you add your own lanes, such as "Waiting", and drag agents into them. That separates the agents you're deliberately waiting on from the ones that need a nudge.
What Changed
Mechanism:
src/shared/dashboard-lanes.tsis a pure module. It holds the lane types,applyDashboardLaneAction(add / rename / remove / place) andresolveDashboardCardLaneId, which applies the Needs You rule.agentDashboardCustomLanesandagentDashboardLaneByPaneKey(paneKey → lane id).buildDashboardSnapshotaddscustomLanesto the snapshot and an optionallaneIdto each card. Both fields are optional, so a pop-out running older code ignores them.dashboardPopout:laneActionIPC channel. Main validates the shape (dashboard-lane-payload-validation.ts) and relays it to the main renderer, the same way the existing sleep and spawn actions are relayed.AgentKanbanColumn,AgentKanbanLaneNameInput,AgentKanbanAddLane), and column grouping moved intoagent-board-columns.ts.Why
dashboardSnapshotInputsChangedwatchessettings), so no new subscription is needed.Linked Issue
Fixes #29951
Visual Proof
In-window board, from the e2e run below (Linux, xvfb). A "Waiting" lane was added, and the "Open the PR and wait for CI" agent was dragged out of Done into it.
Testing
pnpm tc:webandpnpm tc:nodepass.pnpm testonsrc/main/ipcplus the dashboard and dashboard-popout folders: 574 files and 5,645 tests pass. New tests:dashboard-lanes.test.ts: add, rename, remove, place, no-ops, the Needs You rule, pruning and the cap.dashboard-lane-payload-validation.test.ts.apply-dashboard-lane-action.test.ts: closed-pane pruning, including sleeping workspaces.AgentKanbanBoard.lanes.test.tsx: lane rendering, drag to park and unpark, ignored drops, Needs You cards not draggable, add/rename/remove, Escape.New e2e
tests/e2e/agent-dashboard-custom-lanes.spec.ts. In the real app it:It passes under
electron-headless.agent-dashboard-status-burst.spec.tsalso still passes.check:code-quality:changed,verify:localization-extraction,verify:localization-catalog,check:max-lines-ratchet,oxlintandoxfmt --checkon the changed files pass.Platforms: Linux (unit tests and e2e). The change is renderer + IPC only, with no platform-specific code. Not run on Windows or macOS.
I manually tested these changes locally (exercised in the real app via the e2e above, not by hand)
Automated tests added/updated, or explained why not below
AI Disclosure
Written with Claude Code (Claude Opus 5.5), reviewed and directed by me.
🤖 Generated with Claude Code
https://claude.ai/code/session_014z3JQmFH1E9rdP6cTUdhFM