Skip to content

improve(workspace): open Dashboard at current context - #2047

Merged
bkudiess merged 2 commits into
openclaw:mainfrom
bkudiess:bkudiess-contextual-dashboard-navigation
Nov 6, 2026
Merged

bkudiess merged 2 commits into
openclaw:mainfrom
bkudiess:bkudiess-contextual-dashboard-navigation

Conversation

@bkudiess

@bkudiess bkudiess commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The Workspace Dashboard button and Ctrl+Shift+D opened Dashboard home even when a verified chat or Settings counterpart was available.

User Impact

Users can open the supported Dashboard destination for their current chat or Settings page, while unsupported contexts still open Dashboard home.

Why This Change Was Made

The Workspace reuses the existing Dashboard route and compatibility helpers, supplying the current chat session when navigation history has not recorded it yet. The merge with main preserves its explicit Channels redirect alongside contextual footer and shortcut navigation.

Evidence

Route-policy tests cover exact chat session routing, Settings precedence, and home fallback for unsupported contexts and Gateway versions. The current merged source builds and the required Shared and Tray suites pass. In the normal Companion profile, the Settings footer action and Ctrl+Shift+D each opened a Gateway browser tab. The browser surface did not provide a verified URL or accessible page tree, so the exact contextual destination remains unverified.

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 interactive evidence confirms the Settings footer and Ctrl+Shift+D opened Gateway browser tabs. Exact contextual route and Chat-context arrival remain unverified because the browser tool returned no verified URL or accessible page tree.

Validation

  • .\build.ps1 - passed; native Windows ARM64 build and documentation validation succeeded.
  • dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore - 4,866 passed, 25 skipped, 0 failed.
  • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore - 5,237 passed, 0 skipped, 0 failed.
  • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter 'FullyQualifiedName~HubSearchCatalogTests|FullyQualifiedName~WorkspaceNavigationTests' - 186 passed, 0 skipped, 0 failed.
  • git diff --cached --check - passed before creating merge commit 920f53318eb5692168bf001cfdbbbd0f187fc454.

Real Behavior Proof

  • Environment tested: Native Windows ARM64 Debug Companion using the normal profile and its existing connected Gateway.
  • PR head or commit tested: merged source now committed as 920f53318eb5692168bf001cfdbbbd0f187fc454; required build and test commands ran on the same merged working-tree content before the merge commit.
  • Exact steps or command run: From Settings > Connection, clicked the Settings footer Dashboard action, then invoked Ctrl+Shift+D. Edge's window title changed from 43 more pages to 45 more pages, and its active tab showed the Gateway page title.
  • Evidence after fix: Both actions opened Gateway browser tabs. No URL or page accessibility tree was available to verify the route, and no screenshot/artifact was captured.
  • Observed result: Browser launch from Settings and the keyboard shortcut was observed; the exact contextual destination was not established.
  • Screenshot or artifact links verified? (Yes/No/N/A): No.
  • Not verified or blocked: Chat-context footer arrival and the exact Dashboard route for Settings/shortcut. The browser tool returned a missing URL and no accessible page tree; no credential-bearing URL was copied or published.

Security Impact

  • New permissions or capabilities? (Yes/No): No.
  • Secrets or tokens handling changed? (Yes/No): No.
  • New or changed network calls? (Yes/No): No.
  • Command or tool execution surface changed? (Yes/No): No.
  • Data access scope changed? (Yes/No): No.
  • If any answer is Yes, explain the risk and mitigation:

Compatibility and Migration

  • Backward compatible? (Yes/No): Yes. Unsupported and unmapped contexts continue to open Dashboard home; the explicit Channels redirect remains intact.
  • Config or environment changes? (Yes/No): No.
  • Migration needed? (Yes/No): No.
  • If yes, list the exact upgrade steps:

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.

@clawsweeper

clawsweeper Bot commented Nov 6, 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. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 6, 2026
@clawsweeper

clawsweeper Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex review: needs maintainer review before merge.

What this changes

This PR makes the Workspace Dashboard button and Ctrl+Shift+D open a supported destination for the visible conversation or Settings page.

Example: Viewing agent:work:12345678 on Gateway 2026.10.9 and pressing Ctrl+Shift+D.

  • Before: Dashboard home opens.
  • After: Dashboard opens /chat/work/~key/12345678.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The implementation is focused and source-correct, with reported validation and passing hosted checks, but confidence in contextual browser arrival remains limited.
Proof confidence 🦐 gold shrimp (3/6) This collaborator-authored PR is outside the ordinary contributor proof gate; its ARM64 browser-launch observation establishes tab opening only, while exact contextual arrival remains unverified and the inspected images concern earlier behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Opening Dashboard loses the conversation or Settings context the user is viewing.
Reason: The collaborator-authored direction provides useful continuity at limited cost and preserves unsupported-context fallback, so no additional product approval is needed.

Merge readiness

✅ Ready for maintainer review

Keep this collaborator-authored draft open: it provides a focused navigation improvement absent from main, and source review found no actionable correctness defect.

Priority: P3
Reviewed head: 920f53318eb5692168bf001cfdbbbd0f187fc454

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Current-head footer and Ctrl+Shift+D navigation have not been shown arriving at the exact chat route and a supported Settings counterpart in Dashboard.
Agent review details

How this fits together

Workspace supplies its visible destination and current chat identity to the existing route policy, then forwards the selected path through the credential-aware Dashboard launcher to Windows.

flowchart LR
  A[Footer or keyboard shortcut] --> B[Workspace context]
  B --> C[HubSearchCatalog route policy]
  C --> D[Application Dashboard command]
  D --> E[Existing credential-aware launcher]
  E --> F[Browser Dashboard destination]
Loading

Technical review

Best possible solution:

Keep context selection in the existing route owner, preserving exact session identity, explicit destinations, and Dashboard-home fallback.

Do we have a high-confidence way to reproduce the issue?

Current-main source establishes the home-only footer and shortcut path; no runtime reproduction was performed during this read-only review.

Is this the best way to solve the issue?

The smallest complete change is to supply visible Workspace context to the existing counterpart/session policy and launcher, which this patch does without changing credential ownership or navigation state.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 04f413d26531.

Provenance checked

  • Shared footer and shortcut Dashboard destination changes intended behavior with a stated reason (3f6765e: Provide one always-visible Dashboard action across Chat and Settings through the existing application command.)
  • Explicit Channels redirect keeps the original intent (4db2960: Replace duplicated native channel management with the Gateway Dashboard while retaining explicit navigation.)
  • Verified counterparts and exact-session URL policy keeps the original intent (4ea07e8: Shared search opens exact conversations and verified Gateway destinations conservatively across Gateway versions.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Barbara Kudiess: Raw commit 3f6765e adds src/OpenClaw.Tray.WinUI/Windows/WorkspaceWindow.xaml.cs:1045 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3f6765ea02f4; files: src/OpenClaw.Tray.WinUI/Windows/WorkspaceWindow.xaml.cs)
  • Karen: Raw commit 3a58bf3 adds src/OpenClaw.Tray.WinUI/Windows/WorkspaceWindow.xaml.cs:25 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 3a58bf34902f; files: src/OpenClaw.Tray.WinUI/Windows/WorkspaceWindow.xaml.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.

Review metrics

Metric Value Why it matters
Scoped change Production +44/-1; tests +34/-1; documentation +1/-1 The growth supplies current context to existing policy and launch owners without adding services, stores, or dependencies.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P3: This improves navigation convenience while Dashboard remains accessible through existing entry points.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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.

  • For higher confidence, demonstrate exact contextual arrival through the current-head Workspace footer and Ctrl+Shift+D using screenshots or redacted browser diagnostics.

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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-11-06T19:30:10.017Z sha a79f44c :: needs changes before merge. :: none
  • reviewed 2026-11-06T19:55:41.765Z sha 920f533 :: needs maintainer review before merge. :: none

Reviewed November 6, 2026, 4:10 PM ET / 21:10 UTC (Revision 3).

@bkudiess

bkudiess commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 6, 2026
@bkudiess

bkudiess commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 6, 2026
@bkudiess
bkudiess marked this pull request as ready for review November 6, 2026 22:23
@bkudiess
bkudiess merged commit c714954 into openclaw:main Nov 6, 2026
33 of 34 checks passed
@conrathchad3-netizen

Copy link
Copy Markdown

Hey he is doing some stuff I'm telling you in the windows arena. Copilot, I downloaded virtual code and can't find the app couple other people are having problems with Microsoft I know it's him because he taunts me and I couldn't take screen shot and couldn't use my keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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.

2 participants