Add tray live dashboard glance#829
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 26, 2026, 6:48 PM ET / 22:48 UTC. Summary Reproducibility: not applicable. this is a feature PR rather than a current-main bug. The PR body and inspected screenshot show the after-change connected tray behavior. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the tray glance only after maintainers accept or trim the metadata boundary, while keeping message text and current activity snippets out of the top-level flyout. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a feature PR rather than a current-main bug. The PR body and inspected screenshot show the after-change connected tray behavior. Is this the best way to solve the issue? Unclear until maintainer acceptance: the render-free builder and focused tests are a maintainable shape, but top-level session metadata exposure is a product/privacy decision. A safer alternative is an aggregate-only glance with detailed metadata left in the existing Sessions flyout. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 977648cc9c84. Label changesLabel justifications:
Evidence reviewedSecurity concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review Removed the top-level tray dashboard message preview text per the privacy finding. The glance now keeps health, endpoint, heartbeat, node/session summary, model/context metadata, usage, and Diagnostics only. Validation after the change: build passed; Shared.Tests 2513 passed / 31 skipped; focused dashboard tests 42 passed; Tray.Tests 1257 passed. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
ac4edd4 to
c19bc93
Compare
Add a compact status summary to the tray flyout that surfaces gateway health, refresh freshness, session and usage metrics, and the current session preview before the existing action rows. Wire a Diagnostics action into the tray menu and keep the summary computation in a testable, render-free builder shared by existing usage/session rows. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the tray dashboard focused on health, freshness, session metadata, and usage while avoiding conversation message text in the top-level flyout. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the top-level tray dashboard limited to stable metadata so command, query, path, or URL activity text stays out of the glance. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
c19bc93 to
5b31892
Compare
Summary
TrayDashboardSummaryBuilder, a dashboard glance card in the tray menu, snapshot fields for heartbeat/preview data, a Diagnostics action, and unit coverage for summary behavior.Change Type (select all)
Scope (select all touched areas)
winnodeLinked Issue/PR
Validation
./build.ps1— passed; built Shared, Cli, WinNodeCli, SetupEngine, WinUI.dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore— passed: 2513 passed, 31 skipped, 2544 total.dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore --filter "FullyQualifiedName~TrayDashboardSummaryBuilderTests"— passed: 42 passed, 0 skipped, 42 total.dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore— passed: 1257 passed, 0 skipped, 1257 total.Real behavior proof
./run-app-local.ps1 -NoBuild -AllowNonMainConnected · localhost:18789, freshness (Updated 17s ago), node/session summary (1/1 node · 1 session), main session/model without message preview text, existing Gateway/Windows Node/Sessions/Usage rows, and the newDiagnosticsaction.{"event":"app.start","metadata":{"nodeMode":false,"useSshTunnel":false}}.Security Impact (required)
Yes/No) NoYes/No) NoYes/No) NoYes/No) NoYes/No) NoYes, explain risk + mitigation: N/ACompatibility / Migration
Yes/No) YesYes/No) NoYes/No) NoReview Conversations
No bot review conversations exist yet; this is a draft PR.