Repository navigation
feat: pin Gateway pages beside chat - #1940
Conversation
Adds a native Pages shortcut section with a customize flyout over 15 native destinations. Pins are stored locally per Gateway in immutable, deep-copied settings snapshots (no sync, no SettingsSaved reload) and route through the canonical Settings route, using Chat's currently selected agent at invoke. Co-authored-by: Copilot App <[email protected]>
Unchanged pins keep their sidebar row so keyboard focus and the focus captured before entering Settings survive unrelated saves and status changes. A removed focused row falls back to the Customize pages button. Co-authored-by: Copilot App <[email protected]>
The framework can move focus synchronously when a focused pin row is removed, so focus ownership (including descendants) is read before reconciliation. Fallback is the Customize pages button, then the Home row when the pane hides it. Co-authored-by: Copilot App <[email protected]>
Pins render the page full-bleed beside the sidebar via an embedded Settings destination, and use the Home row layout so SVG icons size correctly. Co-authored-by: Copilot App <[email protected]>
…, keep navigation focus Co-authored-by: Copilot App <[email protected]>
…dded feedback lifecycle Co-authored-by: Copilot App <[email protected]>
… sidebar rows Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Keep page initialization, agent context and native animations on the normal navigation path. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Use a ThemeResource-bound embedded backplate and the existing guarded native keyboard helper. Cover live themes, embedded search, retained rows and disconnect focus. Co-authored-by: Copilot App <[email protected]>
Update native layout proof for the Pages group in DIPs and retain viewport timeout diagnostics without relaxing visibility assertions. Co-authored-by: Copilot App <[email protected]>
Place the small edit action beside Home, remove duplicate canonical main-session rows, exclude local-computer/settings pages and keep selected Gateway shortcuts disabled instead of hidden offline. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
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. |
|
Native page-pin proof from the recorded isolated synthetic-Gateway run. These images show the simplified Home sidebar, saved shortcuts retained and disabled offline, and a pinned page in Dark theme. Production source correspondence is recorded; later commits add only test proof and explanatory comments. This is scoped UI evidence, not a claim that the full fixture suite or CI is green. The draft body lists remaining failures. |
|
Codex review: blocked before merge. What this changesAdds per-Gateway page shortcuts beside chat, with offline disabled states and Home routing to the selected assistant’s main conversation. Example: Pin Connection and Sessions for a Gateway, then disconnect it.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep this PR open: it adds useful, collaborator-directed shortcuts absent from main and remains explicitly held as a draft; no definite introduced correctness defect was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherWorkspace turns sidebar actions into destinations in its existing history, hosts native pages through the retained Settings shell, and stores pin preferences through the existing settings transaction. flowchart TD
A[Sidebar customization] --> B[Settings store]
B --> C[Per Gateway pin preferences]
C --> D[Stable sidebar rows]
E[Connection state] --> D
D --> F[Workspace history]
F --> G[Retained Settings shell]
F --> H[Retained chat]
Technical reviewBest possible solution: Keep local pins in the existing settings store and reuse the retained Settings shell, single navigation history and stable sidebar rows. Do we have a high-confidence way to reproduce the issue? This is primarily a feature request; source comparison establishes that main lacks the proposed shortcuts, and inspected screenshots demonstrate their rendered states. Is this the best way to solve the issue? The implementation uses appropriate existing owners; its invariant is that customization preserves conversation state, permissions and history, and the smallest complete path is additive preferences plus keyed rows routed through the retained Settings host. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ef1df54dfe95. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
Review metrics
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 October 30, 2026, 2:56 PM ET / 18:56 UTC. |
Hanselman reviewReviewed head:
Both reviewers checked the complete Consensus: no shared source findings. Opus flagged stale PR status wording as LOW; the description has been corrected with the observed CI result, rating, and verified screenshot links. The hosted UI job at this head recorded 48/49 fixture UI cases passing, including the pointer and Cron cases. Its sole failure was This is not merge approval. CI Gate remains red, and ClawSweeper reports Gold 3/6 overall/proof, with Platinum 4/6 patch quality, requesting persisted-settings upgrade compatibility proof. The earlier local END240 visibility failure also remains preserved without an established cause. The reviews were independent but not blind: requirements and prior failure context were supplied. No tests or apps were launched by the reviewers, and no new passing run is implied. |
…afts Integrate the verified eight-line draft-readiness handoff without changing product code or final-return assertions. Co-authored-by: Copilot App <[email protected]>
Settings compatibility proof and CI fixPushed head: The new
The fixed values cover startup/hotkey settings, notification preferences, pairing approval, camera permission, chat presentation, sidebar state, completed-session visibility, theme, speech language/timeout, managed-Gateway repair preference and image-host allowlist. Omitted optional fields retain their documented defaults. Local results: full build passed; Shared 4,807 passed / 25 ordinary skips; Tray 4,803 passed; focused pin/store tests 36 passed; documentation checks passed. The same update integrates the investigation owner's exact eight-line modal-test readiness fix: wait for visible exact draft text and enabled Send before opening/navigating behind the dialog. No product code, final-return wait, retained-control identity assertion or final draft equality was changed. All five affected native cases passed locally. Fresh hosted CI is running; green CI is not yet claimed. Limits: the compatibility case is a source-shaped stable-schema file-format/store test, not an export from an executed older binary, a native process restart or an installer/MSIX upgrade. The old release was not installed or run. Existing failed attempts remain recorded; this comment does not retrospectively turn them into passes. |
Preserve main's Sandbox labels and readiness-aware UI test lookup while retaining canonical Home routing. Co-authored-by: Copilot App <[email protected]>
|
Updated to Local validation: full build/docs passed; Shared 4,809 passed / 25 ordinary skips; Tray 4,839 passed; focused 163 passed. Existing modal cases passed 5/5 in both Debug and unsigned local Release. Release pin/Home/pencil cases passed 12/12. Debug passed 11/12: the remaining case stopped at the foreground-ownership guard before clicking. No guard was bypassed, and that failure is retained. Unsigned local Release is not signed-release proof. Fresh CI run is running; green CI is not yet claimed. The previous Skills/chat-origin request-settling timeout is distinct from the earlier empty-draft failure, and this integration does not establish its root cause. No shared-dialog investigation code was changed. |
…al errors Keep original assertions and deadlines; record bounded synthetic fixture diagnostics outside the test-body deadline and exercise error preservation. Co-authored-by: Copilot App <[email protected]>
|
Pushed a452b9d: failure-only native session-switch diagnostics, not a product fix. The original visible-history assertions and 150-second case deadline remain unchanged. Collection now runs after the original failure is recorded and uses a separate metadata filename; two controlled native failure tests passed, including diagnostic-error preservation. Independent source review found no remaining diagnostic issues. Required build/docs passed, Shared 4,809 passed with 25 ordinary skips, Tray 4,839 passed. The earlier hosted blank-transcript cause is still unestablished. Fresh CI is intended to collect the missing rendered-session/viewport evidence, not to turn an unexplained retry into a claimed fix. |
Capture bounded method-only diagnostics from the exact calling testhost after the existing startup timeout. Preserve test failure, deadlines and parallelism. Exercise process ownership, stack capture and collector failure paths. Co-authored-by: Copilot App <[email protected]>
|
Pushed The previous UI job 124610069423, run 41225736777 attempt 1 at The new helper starts only after the existing UI fixture startup deadline expires. It verifies its calling testhost's PID, start time and parent relationship, captures method stacks with pinned Hanselman delta reviewReviewed baseline Two independent
Validation on the final sourcePrecommit source correspondence to this commit was recorded by SHA256; the commit made no further source changes.
The earlier unchanged-source full-framework run passed 610 cases with 7 skips, and 20 cold-process reproductions of the two cases active in CI also passed. Those results do not prove a fix. An earlier local observer stopped a progressing suite at its own too-short total-runtime bound; that was not a reproduction of the CI hang. Still blocked: original bootstrap root cause, the separate local post-startup crash, green exact-head CI, and the requested overall ClawSweeper Platinum minimum. Last completed rating remains Gold 3/6 overall/proof versus Platinum 4/6 patch quality at the older |
Revert 5e0fe39 (startup stack capture) and a452b9d (session-switch failure diagnostics). Both were investigation aids for the pre-existing intermittent Tray UI testhost crash, not part of the page-pin feature. The resulting tree matches d2a3dbd. Crash root-cause work continues separately. Co-authored-by: Copilot App <[email protected]>
Integrate main 598918f, which removed the Bindings page. Remove bindings from the pin catalog so it is no longer offered; previously stored bindings pins stay persisted but hidden. Co-authored-by: Copilot App <[email protected]>
Hanselman review: merge of main + retired Bindings pin (
|
| Reviewer | Result |
|---|---|
claude-opus-5.5 (high reasoning) |
No findings |
gpt-6-astra |
No findings |
Both reviewers checked that the staged tree was unchanged before and after their review. A previously stored bindings pin is preserved in settings, hidden from the sidebar and cannot be re-added through the picker; this is covered by UnsupportedPins_AreHiddenButSurvivePersistenceAndOtherPinEdits.
Validation on that exact tree: build passed; Shared 4,809 passed / 25 opt-in skips; Tray 4,828 passed; focused pin/navigation tests failed 2/2 before the fix and passed 163/163 after it; Connection GatewayConnectionManagerTests 217 passed; SetupEngine NativeGatewayCliTimeoutTests 6 passed; docs validation and diff check passed.
Not resolved by this commit: the intermittent framework UI testhost crash, which is still under investigation. No fix for it is claimed here.
Return the confirmation fixture's cancellable task directly. The redundant async wrapper captured the test synchronization context and could hold shutdown behind a queued fixture continuation. Keep production behavior, assertions and timeout bounds unchanged. Co-authored-by: Copilot App <[email protected]>
Hanselman review and validation: activation fixture (
|
| Independent reviewer | Context / requested reasoning | Findings |
|---|---|---|
claude-opus-5.5 |
Default / high | None |
gpt-6-astra |
Long / high | None |
The harness reported these model identities. Both used the available read-only code-review role, not an unavailable rubber-duck role. Scope was this delta and affected cancellation/proof paths, not a fresh whole-PR review. Reviewed file blob a7ccf7fee41f9133881613bb76e199f98729e95a is unchanged in the commit. There are no findings to reconcile; source review is not native runtime proof.
Demonstrated mechanism and limit
The actual compiled router and existing fake were exercised under a controlled synchronization context. Holding the fake's queued continuation made shutdown time out; releasing it completed shutdown and canceled the dispatch. With the change, the unchanged probe completed shutdown with zero captured posts. Probe SHA256: D657AA979E341D592CCF0F684DC24E212EA6BE12517B487D5874761E94430EC5.
This proves removal of an unnecessary fixture scheduler dependency. It does not prove that scheduler starvation caused the exact hosted timeout: that run has no causal trace. An earlier whole-test probe held its own continuation and is not cited as evidence.
Validation on the committed source
| Command | Result |
|---|---|
.\build.ps1 |
Passed, all five projects |
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore |
4,809 passed, 25 ordinary opt-in skips, 0 failed |
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore |
4,828 passed, 0 skipped/failed |
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter FullyQualifiedName~ActivationRouterTests |
57 passed, 0 skipped/failed |
git diff --check |
Passed |
These executions preceded the commit on the identical one-file candidate. Full-suite results are runner-reported with console output retained in the session; fresh downloadable full-suite logs/TRX were not produced. Focused tests and the controlled probe have retained local logs. The initial validation gate compared stale local main, executed no tests, then was corrected to exact base 598918ff8 without changing refs.
Still blocked
Run 41700527447, attempt 1 at parent 81bd1c89 failed only the managed activation shutdown test (4,827 passed / 1 failed) and downstream CI Gate. Its native UI lane passed: framework 610 passed / 7 skipped, fixture UI 50, accessibility 23, functional 19 and fixture/profile integration 34.
Fresh CI for e3ef9b72 is required. The historical native ShowAt crash is still unresolved, and a passing replay is not a fix. No pooling workaround, dependency patch, timeout increase, skip or blanket CI retry is included. ClawSweeper remains Gold 3/6 overall/proof versus Platinum 4/6 patch quality; the requested minimum is not yet met.
Resolve conflicts with the assistant-selection refactor (#1795): pins and Home now resolve against SelectedAgentId, and the sidebar projection keeps this PR's HomeSessionKey and Sessions(mainSessionKey) next to main's IsAgentSelectionReady. Retire the Skills pin because main removed the Skills page (#1932): the catalog drops skills (a saved skills tag stays persisted but hidden, like bindings), and the pin tests, fixture UI test and ARCHITECTURE ledger follow. Co-authored-by: Copilot App <[email protected]>
… unsupported agents.list The unsupported-roster continuity test waited for a sidebar row for the Gateway main session. This PR moves that conversation under Home, so the row never renders and the wait timed out. Wait on the roster-gated rows that still exist and assert the main conversation is owned by Home with no duplicate session row. Co-authored-by: Copilot App <[email protected]>
|
I'm a Copilot triage agent. The initial run at The same test and timeout also occurred on main: https://github.com/openclaw/openclaw-windows-node/actions/runs/41737007496/job/126270520156 I inspected both retained failure screenshots. Each shows the historical conversation at its first messages rather than the final reply. This does not establish why scrolling stopped or rule out an interaction with this PR. Update: PR attempt 2 passed all 52/52 Gateway fixture UI tests; its TRX records the historical voice test passing in 4.75 seconds. The overall UI job still failed because the separate framework test host crashed after 215 passes while The main control retry also passed its 46/46 fixture tests, including the historical voice case in 4.32 seconds. Its overall UI job failed separately on the pathological SVG timing test: https://github.com/openclaw/openclaw-windows-node/actions/runs/41737007496/job/126342336599. These retries show the earlier voice timeout is intermittent, but do not establish its cause or prove the PR cannot contribute. I am not proposing weakening either test. |



Related: #1911 and #1916 (merged prerequisite layers).
What Problem This Solves
Users need to switch among selected Gateway pages without leaving the Companion workspace or losing sight of Home.
User Impact
User impact: choose from eight supported Gateway page shortcuts beside Home and open them in the adjacent page area. Home owns the assistant's main conversation, so it is not duplicated as a Sessions row. Pins are local to each Gateway and remain visible but disabled while disconnected. Settings and This Computer cannot be pinned; retired
bindingsandskillspins stay stored but hidden.Why This Change Was Made
The shortcuts reuse the native page host and navigation history. Keyed rows preserve focus and identity as pin preferences and connection state change. Pin preferences stay local and do not reload capabilities, reconnect, or sync to the Gateway. The catalog reflects main's removal of the Skills page, leaving eight supported destinations.
Evidence
31048df5aa6e1b8e3ccc0c189af430e48afc9f77, including the UI, functional, and accessibility job and CI Gate.Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: current-head isolated native UI proof for pin selection, navigation, focus/theme, disconnected behavior, and accessibility was not run. The historical screenshots above do not satisfy this pool.Validation
./build.ps1dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restoredotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restoreReal Behavior Proof
31048df5aa6e1b8e3ccc0c189af430e48afc9f77.Yes/No/N/A) No current-head screenshot; the linked screenshots are historical only.windows-winui-interactivenative visual proof was not run locally. CI also ran the repository's WSL Gateway E2E jobs; no third-party provider or interactive user Gateway is claimed.Security Impact
Yes/No) No.Yes/No) No.Yes/No) No.Yes/No) No.Yes/No) No. The change adds only local display preferences.Yes, explain the risk and mitigation: N/A.Compatibility and Migration
Yes/No) Yes. Existing saved tags that are no longer supported remain stored but are hidden.Yes/No) Yes. Additive local per-Gateway pin preferences; no environment variable changes.Yes/No) No.Review Conversations