Repository navigation
Remove agent map from dashboard popout - #20929
Hidden character warning
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (102)
💤 Files with no reviewable changes (90)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe dashboard Agent Map and its supporting renderer modules, styles, tests, filters, layouts, and context menus were removed. Dashboard popout IPC and preload APIs no longer accept or report a selected view. Popout windows load without view query parameters. Related localization, CI timing, lint configuration, comments, and inventory tests were updated. Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The dashboard popout now loads the kanban board directly, and current consumers match the simplified API. No merge-blocking issue is confirmed. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description explains the problem, solution, and basic testing, but it omits most required template sections, including ELI5, Linked Issue, Visual Proof or an explicit N/A explanation, AI Disclosure, Review, Agent skill upstream boundary, Notes, and the Checklist. Resolution Update the description to use the repository template. Add the missing sections and required details. Include the linked issue after "Fixes #". For this UI change, attach before-and-after visual proof or write exactly "N/A" with a brief reason. Complete the testing checklist and document local or CI validation, platform coverage, and cross-platform, SSH, compatibility, security, and performance considerations. Full details: Docstring CoverageExplanation Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 9 files. (3 skipped: 3 unsupported.) ✨ Finishing Touches 💡 2📝 Generate docstrings 💡
⚔️ Resolve merge conflicts 💡
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 |
There was a problem hiding this comment.
ℹ️ No critical issues — verified deletion, one leftover cleanup suggestion below.
Reviewed changes
This removes the agent-map view from the dashboard pop-out and every supporting file, leaving the pop-out board-only. I read the complete diff (102 files, 1 commit), confirmed the deletion is complete, and ran the typechecks and affected tests.
- Deleted the entire agent-map subsystem — the
AgentMap*/agent-map-*components, hooks, layout/filter utilities,agent-map.css,AgentDashboardMapView.tsx, and their tests. - Dropped the pop-out
viewparameter end to end —dashboardPopout:openno longer takes a view,createOrFocusDashboardPopout/loadDashboardPopoutno longer take one or append?view=…, and the orphaneddashboard:viewRequestedchannel andDashboardApi.onViewRequestedpreload API are gone. - Removed map i18n —
dashboardPopout.map.*,dashboardPopout.view.*, and the map-onlydashboardPopout.filters.removeChipfromen-runtime-required.jsonand all six locales. - Pruned map-specific test/CI state — deleted map tests, the map half of the performance-isolation test, the drawer hand-over test, inventory entries for deleted files,
agent-map-*from the dead-class allow-list, and map entries fromci-shard-timings.json. - Tidy-ups — comment/import edits in
AgentQuestionIcon.tsx,main.css,dashboard-snapshot.ts, andagent-status-store-snapshot-budget.ts.
Verification I ran on c0279c3: typecheck:node and typecheck:web pass; the 7 affected test files pass (55 tests); check:dead-classes, verify:localization-catalog, and verify:localization-runtime-catalog pass; and a repo-wide search for AgentMap/agent-map/onViewRequested/dashboard:viewRequested/view=… finds nothing stale.
ℹ️ AgentDashboardToolbar still carries a map-only filterControl escape hatch
AgentDashboardToolbar.tsx:43 accepts an optional filterControl prop, and three branches key off it (AgentDashboardToolbar.tsx:119, :127, :214). Its only caller that ever passed it was AgentDashboardMapView.tsx, deleted in this PR; the remaining caller (AgentKanbanBoard.tsx:273) does not. The prop and those branches are now unreachable, so the built-in dropdown is the only path — worth deleting in a follow-up to fully close out the map removal.
Technical details
# Drop the dead `filterControl` seam from the dashboard toolbar
## Affected sites
- `src/renderer/src/components/dashboard-popout/AgentDashboardToolbar.tsx:43-45` — prop declaration + "The map needs a popover" doc comment.
- `src/renderer/src/components/dashboard-popout/AgentDashboardToolbar.tsx:57` — `filterControl` destructure.
- `src/renderer/src/components/dashboard-popout/AgentDashboardToolbar.tsx:119`, `:127`, `:214` — branches guarded by `!filterControl`.
- Removed consumer: `AgentDashboardMapView.tsx` (its `filterControl={` usage is the deleted diff line in this PR).
## Required outcome
- `AgentDashboardToolbar` no longer exposes `filterControl`; the built-in `DropdownMenu` path is unconditional and the two `!filterControl` guards collapse.
- No remaining call site passes `filterControl` (verified: `AgentKanbanBoard.tsx:273` is the only caller).
## Open questions for the human (optional)
- If a non-map caller is planned for `filterControl`, leave it and say so instead.DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
The agent map view was not functional and its components have been removed entirely. The dashboard popout now only supports the kanban board view, with all map-related code, utilities, types, and translations cleaned up accordingly.
c0279c3 to
1b6481d
Compare
Upstream removed the dashboard agent map (stablyai#20929), moved the git RPC params into src/shared/rpc-contract, and replaced the notification dispatcher's unread bookkeeping with the attention policy. Resolutions: - git-params: take upstream's re-export; GitResetToBase moves into the shared contract and the generated catalog is regenerated. - dashboard-card-labels: keep the heading object, pass upstream's new providerSession id through; its test now reads .title. - use-notification-dispatch: upstream's attention path, carrying the per-situation sound and the situation on the OS payload. - AgentDashboardMapView + its time-range test: accept upstream's deletion. - main-window-core-services: drop the popout's removed view argument. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KnureXbGvgNchgDskuL6wV
The agent map view was not functional and its components have been removed entirely. The dashboard popout now only supports the kanban board view, with all map-related code, utilities, types, and translations cleaned up accordingly.

Problem
The agent map view in the dashboard popout was not opening correctly and caused the entire map functionality to fail. The feature created unnecessary complexity and was causing reliability issues.
Solution
Remove the agent map view entirely and simplify the dashboard popout to show only the kanban board view. This removes:
The popout now opens directly to the board view without view selection, eliminating the view-switching mechanism that was tracking which view to display.
Testing
All map-related tests removed. Existing dashboard popout and kanban board tests remain unchanged and continue to verify the remaining functionality.