Repository navigation
improve: explain connection pills and open matching dashboard pages - #2137
Conversation
Add localized explanations and native dashboard actions to connection glance pills. Retain focus across health updates, sanitize channel error details, and preserve native contrast states and aligned tint backgrounds. 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. |
|
Current isolated Windows ARM64 build for cba1420, using synthetic Gateway data. All six pills have explanations; Channels, clients and cost open the matching dashboard views. The close-up is cropped from the full native capture. Tooltips are not expanded in these images; the full-page capture includes a synthetic Slack notification that covers the rightmost pills. The native fixture also passed focus-retention, changed-state Axe accessibility and all three suppressed browser-handoff checks (1/1 passed). |
|
Codex review: needs maintainer review before merge. What this changesThe PR adds localized explanations, keyboard-accessible actions, and matching dashboard links to Connection status pills. Example: Telegram is running while Slack reports “Sign in again.”
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR provides a useful improvement absent from current main, with no blocking correctness or security finding. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe native Connection page projects Gateway health, presence, usage, and registry data into status pills; user actions reuse the existing dashboard launcher or clipboard helper. flowchart LR
A[Gateway health and usage] --> C[Connection page]
B[Active Gateway registry] --> C
C --> D[Localized status pills]
D --> E[Existing dashboard launcher]
E --> F[Gateway dashboard]
D --> G[Clipboard helper]
Technical reviewBest possible solution: Keep the existing page, channel-metrics helper, and dashboard launcher as owners of accessible explanations, focus-preserving refreshes, and destination handoffs. Do we have a high-confidence way to reproduce the issue? Current-main source directly shows the opaque informational channel, client, and cost pills; no failing runtime reproduction was attempted during this read-only review. Is this the best way to solve the issue? The implementation is appropriately scoped: it reuses existing owners, preserves the healthy-channel predicate, and retains mounted buttons to protect keyboard focus. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6ddc13b8eff7. Provenance checked
TestingProof path: shipped entry point. 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. Review metrics
LabelsLabel changes:
Label justifications:
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 12, 2026, 9:29 PM ET / November 13, 2026, 02:29 UTC. |


What Problem This Solves
Connection settings shows status pills such as "1/2 channels" without explaining which channel needs attention or offering a useful next step.
User Impact
All six header pills explain their meaning. Channels, clients and today's cost open the matching Channels, Systems and Usage web dashboard pages; Shared token keeps its copy action and gains keyboard access. Connection type and hostname remain informational, with hover tooltips and screen-reader help.
Why This Change Was Made
Use native buttons and the existing dashboard launcher rather than a new connection or navigation owner. Channel help includes reported statuses and redacted errors, refreshes even when the ready count is unchanged, and keeps keyboard focus during updates. All six locales are updated; native interaction states and aligned pill fills are preserved.
Evidence
The real ARM64 app passed the focused fixture journey: partial channel readiness, same-count error updates, retained keyboard focus while the preceding client pill disappears/reappears, readiness transitions, Axe accessibility, and the three dashboard destinations.
Current-build screenshots use synthetic Gateway data; the full-page capture includes a test notification and does not show an expanded tooltip. Both uploaded assets were fetched back and visually verified.
Full Connection page screenshot and proof notes
Independent Hanselman source review used
claude-opus-5.5andgpt-6-astra, both at high reasoning. The three accepted P3 observations were fixed and both reviewers confirmed those repairs. A subsequent Opus-only tint-alignment observation was also fixed; Opus confirmed the exact final commit and proof package with no actionable P0-P3 findings in that narrow final check.Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: Connection-page pill actions, accessible help, focus retention and visual alignment changed. The focused isolated ARM64 fixture passed; this does not claim complete formal pool execution.Validation
Final source:
cba142002eb7795d37155a65181f4bdd199076fe. The checks ran before commit against an uncommitted patch manually recorded as8f44b2822db12588af764a6fe78bfadafb47d296; the committed parent-to-head diff has the identical digest. Committing did not change the tested source..\build.ps1: passed all projects on Windows ARM64; documentation checks also passed.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: 5,848 passed, 28 ordinary opt-in skips, 0 failed.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: 6,352 passed, 0 skipped, 0 failed.git diff --check: passed.Category=Accessibilityinventory was not run locally.The native invocation used a temporary task-owned
V:mapping to this worktree for Windows path-length limits. It was executed on a private desktop throughscripts\Invoke-PrivateDesktop.ps1with fixture UI/screenshots enabled and the current non-Dev Debug ARM64 app explicitly selected. The mapping and owned app were cleaned up.Real Behavior Proof
cba142002eb7795d37155a65181f4bdd199076fe, associated with the identical tested uncommitted source as described above.Ready channels: 1/2,telegram: running,slack: error (Sign in again)and browser handoff targets/channels,/systems,/usageon its own Gateway port. Keyboard focus stayed on Channels throughout refreshes. The changed page passed Axe.Yes/No/N/A): Yes. Both GitHub-hosted assets in the proof comment were fetched back and visually verified.Security Impact
Yes/No): No.Yes/No): Yes. The existing copy action now reads the active shared token at invocation instead of retaining a rendered value. Tooltip/help text never includes that token; channel error details are redacted before presentation.Yes/No): No new RPC or protocol. The new user-initiated entry points reuse the existing authenticated browser-launch path.Yes/No): No.Yes/No): No.Yes, explain the risk and mitigation: no broader credential export or capability is introduced. Existing dashboard credential policy, browser error reporting and Gateway ownership remain with their current owners.Compatibility and Migration
Yes/No): Yes; existing health/status parsing and native connection behavior are unchanged. Dashboard handoff uses existing supported routes.Yes/No): No.Yes/No): No.Review Conversations
No GitHub review conversations existed during preparation. Hosted CI and maintainer review are still required; local evidence is not a ready-to-merge claim.