Repository navigation
feat(chat): show the session dashboard as a tab beside chat - #2173
Conversation
Adds a Dashboard tab to the native chat side panel, next to Details and Subagents, matching the web Control UI's split presentation. - Reveals passively when board.get returns tabs or widgets for the selected session, or after board.changed; never replaces a selection, moves focus or covers a narrow conversation. Closing suppresses reveals for that session while chat stays mounted. - Dashboards page Open chat opens chat with the tab selected, including sessions missing from the chat list. - Reconnect/history rebinds keep the dashboard; app-chosen fallbacks stay passive. Co-authored-by: Copilot App <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesAdds a session Dashboard tab beside native chat, with automatic discovery and an explicit handoff from the Dashboards page. Example: The selected session agent:main:main has a dashboard.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR adds a useful capability absent from current main, and source review found no definite introduced defect. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherChatPage supplies the operator connection and navigation intent; the chat root binds the selected session, discovers its board through the existing Gateway client, and renders it through the existing native board reader. flowchart LR
A[Dashboards page] --> B[ChatPage]
B --> C[Chat dashboard binding]
D[Gateway board API] --> C
C --> E[Conversation panel state]
E --> F[Native board reader]
D --> F
Technical reviewBest possible solution: Keep the dashboard slot in the existing conversation panel and retain the existing board renderer as its sole rendering owner. Do we have a high-confidence way to reproduce the issue? This is a feature addition; current-main source confirms that the conversation panel lacks a Dashboard slot. Is this the best way to solve the issue? The implementation uses the existing panel, access policy, Gateway contract, and board renderer; the binding and added state serve distinct discovery, dismissal, and navigation responsibilities. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e9ed3ba8b27b. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 13, 2026, 12:52 PM ET / 17:52 UTC. |
Co-authored-by: Copilot App <[email protected]> # Conflicts: # src/OpenClaw.Tray.WinUI/Chat/OpenClawReactorChatRoot.cs # src/OpenClaw.Tray.WinUI/Chat/ReactorChatHostExtensions.cs
Keep rejecting board reads for every gallery session before a card opens, while allowing the main chat session's dashboard discovery read. Co-authored-by: Copilot App <[email protected]>
|
The current head is The review reported no actionable source findings. The PR body now distinguishes the earlier live UI observations from the merged head and retains the outstanding current-head visual, reconnect, and archived-session proof gaps. Those are not being claimed as verified. The maintainer has explicitly requested merge after seeing these limits. 🤖 AI-authored reply via Agency Finish PR. |
Resolves conflicts with openclaw#2173 (session dashboard tab beside chat), openclaw#2176, openclaw#2175, openclaw#2116 and openclaw#2172: - ReactorBoardView: embedded board keeps main's compact 12/0 padding, standalone pages keep the shared PageResponsiveLayout PaddingTop/PaddingBottom. - Resources.resw (all 6 locales): keep this PR's PageAction_Refresh keys and main's Chat_Panel_Dashboard. - TestTimingPatternBaseline.json: main's counts, then lowered for this branch. Co-authored-by: Copilot App <[email protected]>
What Problem This Solves
Users currently have to leave native chat to read the selected session's dashboard.
User Impact
User impact: read the session dashboard in a Dashboard tab beside chat, alongside Details and Subagents.
Why This Change Was Made
Reuse the conversation panel and
ReactorBoardViewin a compact embedded mode.ChatDashboardBindinguses the existing read-onlyboard.get,board.changedandBoardAccessPolicycontracts. Session changes clear the tab; connection/history changes retain it, with passive fallback selection.Merged main through
fbc02870. Both compact desktop-companion chat and the Dashboard binding are preserved. The two gallery tests now permit only startup chat's main-session board probe while still rejecting reads for every gallery session before a card opens.Evidence
97b8a306verified automatic reveal, dismissal across session navigation, explicit reopening, Dashboard/Details coexistence, and narrow Show panel/Back/Escape behavior. No messages were sent or Gateway settings changed. These observations are not current-head proof after the main merge.97b8a306reported no actionable source findings. Neither that review nor the visible observations cover the merged head.board.getassertions because chat now legitimately discovers its own board. Those assertions are scoped to preserve the gallery no-prefetch contract. New CI run passed oneba2b469, including CI Gate, both mock-Gateway shards, chat layout, and UI/functional/accessibility. The separate C# security workflow was still pending at this observation.Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: current-head dashboard reveal, focus, dismissal and narrow-window proof. Outstanding after main merge.Validation
Windows ARM64, head
eba2b46908341ea8e62ae887db153516ef3af8b9; working tree clean. Main comparison:fbc02870795c67d65f468caf64c1f26f0ab819d0. Source association manually recorded..\build.ps1: passed, documentation and all product build targets.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: passed, 5862 passed, 29 skipped, 0 failed.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: passed, 6480 passed, 0 failed.git diff --check: clean.dotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -r win-arm64: blocked locally. After restoring missing assets, generated FileWorker copy paths at or beyond 260 characters fail with MSB3030. Serial build has the same result. A temporary short drive mapping instead fails GitVersion's worktree lookup; the mapping was removed. No product/test assertions or signing guards were disabled to hide these failures.Real Behavior Proof
97b8a306, not the current merged headeba2b469.Security Impact
Yes, explain the risk and mitigation: native chat now calls the existing read-onlyboard.getfor its selected session and after matchingboard.changedevents. Existing connection/access checks and ticketed widget rendering remain authoritative.Compatibility and Migration
Review Conversations