[Enhancement] Option to show the full embedded Control UI in Windows Companion Web UI mode
Request
Offer an opt-in full Control UI mode inside the Windows Companion WebView, in addition to the current integrated Web UI chat mode. The integrated mode deliberately hides the embedded Control UI's navigation/sidebar in favor of the Companion's native Workspace sidebar. There is currently no user-facing choice to keep the full embedded Control UI.
This corrects the original report: the native Workspace sidebar is present and functioning. The missing sidebar is the web Control UI sidebar inside the embedded WebView, not WorkspaceWindow's native NavigationView. The screenshot supplied by the reporter shows the native agent selector, Home, Sessions, and session rows open beside the embedded web chat; the embedded web sidebar is absent. Session names in that screenshot are private, so it is described here rather than attached unredacted.
Environment and steps
- Windows Companion/node 2026.9.8-1; Windows 10.0.26200.9550
- WSL Gateway CLI OpenClaw 2026.9.8 (fc23bc8)
- Settings → Use gateway's web chat interface enabled (
UseLegacyWebChat)
- Open Workspace/Chat with the Web UI setting enabled.
- Observe that the native Workspace sidebar is open and lists sessions.
- Observe that the embedded web Control UI shows chat content but not its own sidebar/navigation.
- Open the same Gateway Control UI in Opera: its web sidebar is visible.
The reporter previously sometimes saw the embedded web sidebar after navigating from Chat to Connection and back in the old single-window shell. That workaround no longer has the same navigation path now that Settings/Connection is a separate window.
New functional evidence: removing the injected style reveals the web sidebar
In the embedded WebView's DevTools, the reporter identified and removed the <style> element injected by ChatPage.xaml.cs. A reproducible console check is:
const injected = [...document.querySelectorAll('style')].filter(
style => style.textContent.includes('nav, [data-sidebar], .sidebar, aside { display: none !important; }')
);
console.log(`Companion sidebar-hiding styles found: ${injected.length}`);
injected.forEach(style => style.remove());
Observed result: the matching style was found and removed, and the complete web Control UI sidebar appeared immediately inside the existing Companion WebView. No reload, Gateway/configuration change, or Companion binary modification was needed. This confirms that the sidebar is present and renderable in the current WebView and that the injected style is the immediate cause of its absence. It does not yet establish that all Control UI navigation works correctly inside Companion, or that this DevTools change survives reload, navigation, or restart. The console snippet above is a minimal way to reproduce the reporter's style-removal experiment, not a persistent fix.
Confirmed implementation / why this is an enhancement
- At the installed release,
ChatPage.xaml.cslines 997–1026 attach aWebView2.NavigationCompletedhandler. On successful navigation it injects CSS withnav, [data-sidebar], .sidebar, aside { display: none !important; }, accompanied by the explicit comment, “Hide the web Control UI sidebar — Hub NavigationView handles top-level nav.” Release source - The Settings toggle describes hosting the Gateway web chat instead of the native Windows chat experience, but does not distinguish integrated chat from the full Control UI. Settings UI
- Git blame/history places the CSS injection before the Workspace/Settings split (it exists in the parent of #1541). Previously, Chat and Connection navigated through the same
HubWindow.ContentFrame; returning to Chat calledChatPage.Initialize(), which re-navigated an initialized WebView. In the current architectureWorkspaceWindowowns a retainedChatPageand Settings is a separate window. The old round-trip therefore no longer forces the same Chat-page lifecycle. Pre-split Hub navigation · Current Workspace host · Current window routing
The source establishes that hiding the embedded web sidebar is intentional and is not a new technical regression. It does not establish why the old round-trip sometimes exposed it; that could have been a timing/lifecycle side effect, but this has not been reproduced or proven. The split removed the reporter's incidental route to that state, not a documented full-UI feature.
Proposed behavior
Keep the current integrated Web UI chat presentation as the default. Offer an explicit choice such as Integrated web chat vs Full Gateway Control UI for users who select the web interface. In full mode, omit the sidebar-hiding CSS injection and validate the embedded Control UI's navigation without requiring navigation through Settings or a timing-dependent workaround. Avoid redundant native + web navigation: for example, collapse/hide the native session pane while full mode is active, while retaining an obvious way to return to integrated/native navigation. The exact layout is a product decision; it should be explicit rather than accidental duplicate sidebars.
The browser Control UI already supplies the full interface outside the Companion; the request is specifically for the full interface inside its WebView. No local config or binary changes were made during this investigation.
Related but distinct: #1677 concerns grouping/naming in the native sidebar, which is visible here.
Codex review: this still needs some work.
Summary The requested full embedded Control UI remains unavailable on current main; this enhancement needs a product decision and does not meet this repository's implemented-only close policy.
Reproducibility: Current source directly establishes intentional sidebar suppression; the reporter supplies a style-removal experiment, but this read-only review ran no application, builds, or tests.
Maintainer decision needed
- Question: Should Companion offer full Gateway Control UI navigation inside its WebView, and how should that mode interact with native navigation?
- Recommendation: Define an opt-in full mode: Specify native-pane visibility and a return action, then validate embedded destinations and lifecycle behavior before shipping.
- Why: Existing suppression is intentional; source and the reporter's experiment establish feasibility without deciding the supported layout or navigation scope.
Next step Decide whether to support full embedded navigation and define native-pane visibility and the return action before adding a mode setting.
Review details
Best possible solution:
A supported full-interface mode should preserve integrated chat by default and provide a clear return to native navigation.
Do we have a high-confidence way to reproduce the issue?
Current source directly establishes intentional sidebar suppression; the reporter supplies a style-removal experiment, but this read-only review ran no application, builds, or tests.
Is this the best way to solve the issue?
Conditionally omitting the CSS addresses sidebar visibility, but a complete solution also needs an approved navigation model and embedded lifecycle validation.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- The desired native-pane layout and return action for full embedded mode remain undecided.
- The reporter's style-removal experiment does not establish complete navigation across reload, reconnect, or restart.
Codex review notes: model internal, reasoning medium; reviewed against b762c8dc12a8.
Label changes
Label changes:
- add
clawsweeper:fix-shape-clear: Current issue advisory state selects this label.
Label justifications:
P3: This optional presentation capability has functioning native navigation and browser access.impact:ux-friction: Users selecting web chat cannot retain the embedded Control UI navigation through a supported setting.
Evidence reviewed
What I checked:
- Verified current default branch: GitHub identifies main as the default branch; its commit matches the clean review checkout. (b762c8dc12a8)
- Embedded sidebar remains suppressed: Successful WebView navigation injects CSS hiding navigation and sidebar elements, without a full-interface preference check. (
src/OpenClaw.Tray.WinUI/Pages/ChatPage.xaml.cs:1197, b762c8dc12a8) - Setting selects renderer only: Settings exposes UseLegacyWebChat as a boolean selecting Gateway web chat; ChatSurfaceResolver and its tests cover renderer selection, overrides, and draft preservation. (
src/OpenClaw.Tray.WinUI/Pages/SettingsPage.xaml:229, b762c8dc12a8) - Historical design intent: GitHub's historical commit patch adds the matching sidebar-hiding CSS, and its message explicitly gives avoiding dual navigation as the reason; local history searches encountered unavailable historical blobs. (
src/OpenClaw.Tray.WinUI/Pages/ChatPage.xaml.cs, f2fa038bd080) - Pinned pages serve native routes: https://github.com/openclaw/openclaw-windows-node/pull/1940 (feat: pin Gateway pages beside chat) merged native page shortcuts; current invocation routes through OpenSettings rather than exposing full web navigation. (
src/OpenClaw.Tray.WinUI/Windows/WorkspaceWindow.Pins.cs:186, 7967d509886f) - Dashboard remains a browser destination: https://github.com/openclaw/openclaw-windows-node/pull/2047 (improve(workspace): open Dashboard at current context) improves destination selection; the current Dashboard browser owner dispatches outside Companion. (
src/OpenClaw.Tray.WinUI/Services/DashboardBrowser.cs:44, b762c8dc12a8)
How this review workflow works
- ClawSweeper keeps one durable marker-backed review comment per issue or PR.
- Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
- A fresh review can be triggered by eligible
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch. - PR/issue authors and users with repository write access can comment
@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only. - Maintainers can also comment
@clawsweeper reviewto request a fresh review only. - Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
- Maintainers can comment
@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.
Reviewed November 30, 2026, 12:24 AM ET / 05:24 UTC.
Correction to my original diagnosis: the reporter's screenshot clearly shows the native Workspace sidebar open and working. The missing sidebar is the web Control UI sidebar within the embedded WebView. The release code hides that web sidebar deliberately; I have rewritten the issue as an opt-in full embedded Control UI enhancement and removed the unsupported claim of a native pane regression. The former Connection → Chat round-trip changed page/WebView lifecycle, but why it sometimes exposed the web sidebar is not established.
This issue has been automatically marked as stale due to inactivity. Please add updated OpenClaw Windows details or it will be closed.
This issue has been automatically marked as stale due to inactivity. Please add updated OpenClaw Windows details or it will be closed.
This issue has been automatically marked as stale due to inactivity. Please add updated OpenClaw Windows details or it will be closed.