Skip to content

feat(chat): show the session dashboard as a tab beside chat - #2173

Merged
bkudiess merged 3 commits into
openclaw:mainfrom
bkudiess:bkudiess-dashboard-side-tab
Nov 13, 2026
Merged

bkudiess merged 3 commits into
openclaw:mainfrom
bkudiess:bkudiess-dashboard-side-tab

Conversation

@bkudiess

@bkudiess bkudiess commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

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.

  • Automatic reveal does not replace another selected tab, move focus, or cover a narrow conversation. Close suppresses automatic reveal for that session while chat stays mounted.
  • Open chat on the Dashboards page explicitly opens the tab, including for sessions absent from the chat list.
  • Split presentation only: no expanded layout, persisted presentation defaults, or panel launcher.
  • Existing report metric cards truncate long values at narrow widths; this was observed during live inspection and is not changed here.

Why This Change Was Made

Reuse the conversation panel and ReactorBoardView in a compact embedded mode. ChatDashboardBinding uses the existing read-only board.get, board.changed and BoardAccessPolicy contracts. 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

  • Current source: full build, Shared and Tray suites passed locally (counts below).
  • State coverage: passive reveal, dismissal/reopen, retained dashboard across rebinds, passive fallback, and reselect as a no-op.
  • Live inspection of earlier head 97b8a306 verified 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.
  • Independent reviews: an implementation rubber-duck review found a lost event during an in-flight probe; fixed. The Hanselman review (Claude Opus 5.5 and GPT-6 Astra) found four issues, which were fixed. A later repository bot review of 97b8a306 reported no actionable source findings. Neither that review nor the visible observations cover the merged head.
  • Original CI failure: fixture UI shard B failed two whole-run no-board.get assertions because chat now legitimately discovers its own board. Those assertions are scoped to preserve the gallery no-prefetch contract. New CI run passed on eba2b469, 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

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Required 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.
  • Current-head CI fixture UI shard B: 45 passed, 0 failed, 0 skipped, including the two previously failing dashboard tests. Runtime execution took 12m20s; the complete job took 16m57s. CI Gate: passed.

Real Behavior Proof

  • Environment tested: native Windows ARM64; approved developer-profile app and existing Gateway. Computer-use confirmed the executable came from this task's worktree. WinApp CLI was unavailable.
  • PR head or commit tested: earlier head 97b8a306, not the current merged head eba2b469.
  • Exact steps or command run: selected an existing session with a dashboard; closed the tab and navigated away/back; reopened using Dashboards-page Open chat; opened tool Details and switched tabs; resized the window and panel; used Show panel, Back and Escape.
  • Evidence after fix: local computer-use screenshots and accessibility observations, not uploaded because they contain developer-profile content.
  • Observed result: dashboard rendered alongside chat; dismissal persisted; explicit Open chat selected the tab; Dashboard and Details shared the strip; narrow automatic reveal kept chat visible; Back/Escape restored the composer. Long report metric values were truncated.
  • Screenshot or artifact links verified? N/A. No profile screenshots uploaded.
  • Not verified or blocked: current-head visible proof after the merge; reconnect behavior; archived-session opening; measured request rates; full interactive proof-pool acceptance. The earlier observations do not close these gates.

Security Impact

  • New permissions or capabilities? No
  • Secrets or tokens handling changed? No
  • New or changed network calls? Yes
  • Command or tool execution surface changed? No
  • Data access scope changed? No
  • If any answer is Yes, explain the risk and mitigation: native chat now calls the existing read-only board.get for its selected session and after matching board.changed events. Existing connection/access checks and ticketed widget rendering remain authoritative.

Compatibility and Migration

  • Backward compatible? Yes
  • Config or environment changes? No
  • Migration needed? No
  • If yes, list the exact upgrade steps: N/A.

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

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]>
@clawsweeper

clawsweeper Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal priority bug or improvement with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 13, 2026
@clawsweeper

clawsweeper Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codex review: needs maintainer review before merge.

What this changes

Adds 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.

  • Before: The user opens the separate Dashboards page to read it.
  • After: A Dashboard tab appears beside chat without replacing another selected panel or taking composer focus.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The scoped implementation and distinct state tests support the patch, but required visible behavior evidence has not been supplied.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Users must leave the native conversation to inspect its session dashboard.
Reason: The established area owner proposes a bounded extension that keeps board consumption beside the conversation without adding an editor, persisted layout settings, or another renderer.

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
Reviewed head: 97b8a3060043c210acbd42e096ab4ee256bf777b

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Provide current-head visible proof of automatic reveal with composer focus retained, narrow-window Show panel behavior, dismissal and explicit reopening, and Dashboards-page Open chat including a session absent from the chat list.
Agent review details

How this fits together

ChatPage 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
Loading

Technical review

Best 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

  • Conversation-panel state and focus keeps the original intent (0bd9348: Provide reusable tool details beside a stable conversation; the later Subagents change reused the strip and protected reader position.)
  • Dashboard retention across connection and history rebinds changes intended behavior with a stated reason (0bd9348: Existing invalidation discarded history-bound tool tabs; the PR explains why the new session-bound dashboard survives while Details and Subagents still close.)
  • Embedded board presentation keeps the original intent (e59374c: Provide a standalone native board reader with live widgets and explicit web handoffs; embedded mode changes only its surrounding header and spacing.)
  • Chat mounting and shared scheduling keeps the original intent (686afdc: Keep composer-session ownership at the mounting boundary; the added binding passes through that boundary, and the existing dashboard timer implementation is shared without changing its behavior.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Barbara Kudiess: Raw commit e59374c adds src/OpenClaw.Tray.WinUI/Dashboards/ReactorBoardView.cs:15 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: e59374c064f4; files: src/OpenClaw.Tray.WinUI/Dashboards/ReactorBoardView.cs)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: A useful, scoped native-chat feature with limited blast radius and no demonstrated urgent regression.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: A useful, scoped native-chat feature with limited blast radius and no demonstrated urgent regression.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Attach the current-head UI evidence described in the proof assessment and request re-review.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 13, 2026, 12:52 PM ET / 17:52 UTC.

bkudiess and others added 2 commits November 13, 2026 10:09
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]>
@bkudiess

Copy link
Copy Markdown
Collaborator Author

The current head is eba2b469. The CI Gate, both mock-Gateway shards (including all 45 tests in the previously failing shard), chat-layout, UI/functional/accessibility, and security checks now pass. The local build, 5,862 Shared tests, and 6,480 Tray tests also passed.

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.

@bkudiess
bkudiess merged commit fbb09cc into openclaw:main Nov 13, 2026
32 checks passed
karkarl added a commit to karkarl/openclaw-windows-node that referenced this pull request Nov 13, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant