Repository navigation
improve(chat): modernize the native chat experience - #1459
Conversation
Align the native transcript and composer with the released web presentation. Use native model search and selection, advertised effort profiles, and content-fenced copy feedback while preserving Markdown safety and list layout. Cover responsive layout, metadata equality, inherited effort defaults, pointer cancellation, and active-preview ownership with focused regressions. 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. |
|
Codex review: blocked before merge. Reviewed September 22, 2026, 1:59 PM ET / 17:59 UTC (Revision 8). ClawSweeper reviewWhat this changesModernizes native Windows chat with responsive layouts, searchable model selection, Gateway-advertised effort controls, copy feedback, Fluent styling, and regression coverage. Merge readiness⛔ Blocked before merge - 3 items remain This remains useful, distinct work absent from current main, but the previously reported effort-gesture defect still blocks merge. The native screenshots provide meaningful visual evidence, and the later commits do not repair that defect. Priority: P2 Review scores
Verification
How this fits togetherNative chat projects Gateway conversations and model capabilities into Windows controls. Composer actions pass through the existing controller and chat provider to update Gateway session options. flowchart LR
A[Gateway conversations and model catalog] --> B[Chat snapshot and capability projection]
B --> C[Native transcript and composer]
C --> D[Model and effort selection]
D --> E[Controller validation]
E --> F[Gateway session update]
F --> A
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep the native presentation improvements, bind pending effort input to its originating session and semantic profile, and verify the resulting session update and displayed acknowledgement on the integrated source. Do we have a high-confidence way to reproduce the issue? Yes, source establishes a concrete trigger: hold the slider at index 2, replace [off, low, medium, high] with [off, minimal, low, high], then release. The callback submits low rather than medium; this review did not execute that native scenario. Is this the best way to solve the issue? Mostly yes: focused native presentation owners preserve the existing controller and Gateway boundaries. Pending effort input still needs semantic identity fencing before this implementation is safe to land. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3e740827aeb1. LabelsLabel changes: No label changes. Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
Replace the removed speaker toggle expectation with the current session, model, effort, voice, and primary-action controls. Co-authored-by: Copilot App <[email protected]>
Keep code-copy IDs unique per mounted button and stable across feedback and content updates. Add native coverage for identical snippets and preserve message-copy identities. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6b8b18b9-1b7b-4fc5-a619-b4acee8f6d5e
Reveal the navigation content layer through native chat, use card fill for the composer, and give standalone chat a Mica backdrop with one theme-aware content layer. Preserve high-contrast colors and cover layering in source and native UI tests. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6b8b18b9-1b7b-4fc5-a619-b4acee8f6d5e
Preserve responsive session picker styling and main's fixture render acknowledgement in both text and compact icon layouts. Add native resize regression coverage. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6b8b18b9-1b7b-4fc5-a619-b4acee8f6d5e
Carry Barbara Kudiess's native chat modernization (#1459) into the Colophon seed as design-only guidance. DESIGN.md: bubble radius 16->12 and new composer radius (20px); accentSubtle documents the chat-local ChatUserBrush binding; icon token gains the ChatSubmit/ChatAttach/ChevronDown/Stop Fluent glyph aliases; new Chat surface section covering ChatResources brushes, Mica/content-layer layering, reading geometry, and footer controls, sourced from docs/CHAT_VISUAL_DESIGN.md and Themes/ChatResources.xaml. components.jsonc: ChatComposer panel now uses the composer radius and notes ChatComposerBrush/ChatStrokeBrush plus the Send/Stop/Attach glyphs; ChatBubble binds ChatCardBrush/ChatTextBrush with ChatSecondaryTextBrush code text and a ChatCopySuccessBrush copy checkmark; ComposerPicker notes the AutoSuggestBox+ListView model picker and slider/gauge effort picker with ChatPickerAccentBrush; ComposerPickerOptions flyout corners bump to lg (12px); ChatThread user bubble binds ChatUserBrush. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
The refreshed native chat renders assistant turns as plain prose flowing in the reading column (avatar + prose + footer), with only the user's own message on a soft ChatUserBrush bubble. The seed still wrapped the assistant message in a card, so correct ChatBubble and the DESIGN.md chat notes to match. components.jsonc: ChatBubble message drops the fill/border/bubble-radius/padding and flows as ChatTextBrush body prose with a 16px (token 3) block gap; note and ChatThread note now state the assistant turn is bubbleless while code surfaces and the user bubble keep the bubble radius. DESIGN.md: Chat surface geometry and Shapes clarify that assistant prose is bubbleless and the bubble radius applies to the user message and code surfaces. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
* Seed v3 Colophon design system for OpenClaw Windows Hub Carry over the v1 design.json tokens/brand/authority and principles.md verbatim, port all 9 components (Button, Field, Card, Badge, ComposerPicker, ChatBubble, ChatComposer, ChatThread, ExampleScreen) from raw-CSS attrs.style to v3 Auto Layout with token-bound layout/appearance, and add a v3 colophon.jsonc presentation profile. Adds the idempotent Colophon pointer block to AGENTS.md. Co-authored-by: Copilot App <[email protected]> * Reconcile chat composer/thread/picker with shipping Reactor UI ComposerPicker now follows the Fluent ComboBox pattern (bordered control fill + hairline border, ink value, right-aligned muted chevron). ChatComposer and ChatThread are realigned to the actual ReactorChatComposer/ReactorChatTimeline implementation: - ChatComposer toolbar: adds session picker, speaker, and settings; notes the Send<->Stop toggle; binds ControlFill/ControlStroke (control/controlLine) instead of Card resources; 12px outer margin. - ChatThread/ChatBubble: user bubble uses the softer accentSubtle (AccentFillColorSecondaryBrush) with a hover Copy; assistant bubble uses subtleHover fill + controlLine border, adds Read aloud, and max-width 720. Adds 3 tokens the system did not cover: control (ControlFillColorDefaultBrush), controlLine (ControlStrokeColorDefaultBrush), accentSubtle (AccentFillColorSecondaryBrush). Preview hex only; code binds the resource keys. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * Port composer pickers to Fluent ComboBox; point port authority at WinAppCli Reactor port of the design system's ComposerPicker into the shipping composer: ReactorChatComposer.PickerButton now renders a bordered Fluent ComboBox (ControlFill fill, ControlStroke hairline border, primary-text value, right-aligned muted chevron pinned by a Star/Auto grid, radius 4, MinWidth 64, padding 12/8) instead of a borderless subtle button. Session/model/reasoning selection still opens the existing MenuFlyout of RadioMenuItems. design.json: add a winapp (WinAppCli, https://github.com/microsoft/WinAppCli) tooling reference to authority and a toolingSource on both the default WinUI 3 port and the Reactor chat override, since XAML and Reactor now build/package through winapp. Update the composer chevron contract test to assert the ComboBox styling. Remove em dashes from the Colophon pointer block in AGENTS.md so the repo doc validator (no em dashes in user-facing docs) passes. Validation: build.ps1 OK; OpenClaw.Shared.Tests 3989 passed; OpenClaw.Tray.Tests 2897 passed; design-system validators (componentsio/profileio/validateDesignDir) OK; rubber-duck review clean. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * Revert composer pickers to subtle dropdown style The bordered Fluent ComboBox port regressed the composer's session/model/reasoning selectors. Restore the subtle inline dropdown the surface is meant to ship: ReactorChatComposer.PickerButton goes back to a borderless, transparent button (SubtleFillColorTransparent resting, subtle hover/press, muted value + trailing chevron with a small right/up offset). Update the design system's ComposerPicker to the same subtle pattern (transparent fill, no border, muted text/chevron, gap/padding tokens 1/2) and rename the contract test to ReactorComposer_StylesPickersAsSubtleDropdown. The WinAppCli port authority (design.json) is unchanged. Validation: build.ps1 OK; OpenClaw.Shared.Tests 3989 passed; OpenClaw.Tray.Tests 2897 passed; design-system validators OK. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * Revert composer picker production code; keep design-system seed only This PR is design-system seeding only. Restore src/OpenClaw.Tray.WinUI/Chat/ReactorChatComposer.cs and tests/OpenClaw.Tray.Tests/ChatTimelinePresentationTests.cs to their main state, removing the composer picker code port entirely. The design system (.agents/design/*) still describes the subtle inline dropdown that the app actually ships, and design.json keeps the WinAppCli port authority. No production code or tests are changed by this PR. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * Match ChatComposer preview to the shipping composer Update the ChatComposer sample values and placeholder to mirror the real Reactor composer (Message Assistant placeholder; Main session / Claude Sonnet 5 / Default pickers), and note that a picker with a single option (the session picker with one session) renders disabled so its label reads lighter than its enabled neighbours. Design data only; no code or token changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: give chat-component buttons the ds-btn reset class The ComposerPicker and the chat icon/send/copy buttons rendered with the browser default button bevel in the Colophon preview because they were the only authored el:button nodes without the canonical ds-btn reset class (border: 1px solid transparent). Adding it drops the retro OS chrome so the subtle borderless pickers render as intended; inline appearance still drives radius, color, and the Send accent fill. Design-only, no production changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: render composer subtle pickers/buttons as WinUI subtle controls The composer pickers and toolbar icon buttons ship as WinUI subtle DropDownButtons / transparent Buttons (SubtleFillColorTransparent rest, SubtleFillColorSecondary hover, SubtleFillColorTertiary press, ControlCornerRadius, TextFillColorSecondary glyph) - verified against the canonical ReactorChatComposer PickerButton and WinUI Fluent resources. In the web preview these were rendering as native <button>s (browser chrome plus the ds-btn web button weight), which read as Fluent-web rather than Fluent-Windows. Represent them as role-annotated elements so the transparent WinUI rest state shows cleanly; only the filled primary Send stays a real button. Notes now name the WinUI control and resource ladder explicitly. Design-only, no production or test changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: render composer input as a borderless transparent textbox The composer message input was a raw <textarea>, so the preview showed the browser's default field border. The design intent is a borderless, transparent WinUI TextBox (the hairline border belongs to the outer control panel, not the input). Render it as a borderless contenteditable textbox (role=textbox) showing the muted placeholder, so no field border shows in any theme, while keeping it typeable. Design-only, no production or test changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: remove web focus outline from composer input preview Clicking the composer input showed the browser's :focus outline ring, a web-Fluent artifact that only appeared because contenteditable made the div focusable. A Windows Fluent TextBox has no such ring. Render the preview input as a non-focusable role=textbox div (drop contenteditable) so no focus outline shows on click, keeping the static borderless rest-state representation. The real focus cue (accent underline) ships on port. Design-only. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: restore typeable composer input; route focus-ring to extension Interactive editability is the point of the web preview, so keep the composer input contenteditable (typeable). The browser's :focus outline ring that shows on click is a web-Fluent artifact the static renderer cannot suppress from design-only JSON (appearance has no outline key; raw style attrs are rejected). Document that caveat and route the fix (suppress web outline / show a Windows accent-underline focus cue) to the Colophon extension, tracked in karkarl/colophon#14. Design-only. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: adopt colophon #16 interaction model for composer input and pickers Re-express the chat composer's borderless input, subtle picker/icon buttons, and picker flyout using the schema-pure interaction keys (control/states/on) from the colophon #16 components schema, replacing the earlier focus-ring-routing workaround. No raw CSS; all tokens bind to design.json. - ComposerPicker root is now a real transparent button: control.chrome none removes the web button border, control.focus supplies the Windows accent focus rectangle, and states carry WinUI subtleHover/subtlePressed plus a disabled shade. on.click opens a representative single-select ComposerPickerOptions flyout (targets take no props). - New ComposerPickerOptions component: WinUI RadioMenuItem-style flyout on a surface sheet with md radius/shadow. - chat-composer-input renders borderless and typeable with an accent underline on focus (control.chrome none + control.focus underline), dropping the web focus ring. - The four subtle icon buttons (add context, dictate, read aloud, chat settings) become real buttons with transparent rest state and WinUI hover/pressed/hoverPressed states. - Notes refreshed to describe the real button + control model and drop the obsolete combobox-div and web-ring caveats. Design-only: no production or test files touched. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: show accent checkmark for selected composer picker option Replace the radio-dot selection indicator in ComposerPickerOptions with a reserved leading glyph column that renders an accent checkmark on the selected row, matching WinUI RadioMenuItem selection. Preserves menuitemradio/aria-checked semantics. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: render composer picker checkmark with Segoe Fluent Icons glyph Use the Fluent icon CheckMark (U+E73E) in the Segoe Fluent Icons font for the selected ComposerPickerOptions row instead of a generic Unicode check, matching WinUI menu selection glyphs. Document the icon font as an 'icon' typography family (SymbolThemeFontFamily provenance); the glyph keeps its accent color token-bound and applies the icon font via a font-family-only raw style, since the token appearance.fontFamily is capped to display/body/mono. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): migrate Colophon design system to DESIGN.md convention Re-express the v3 seed in Colophon's new DESIGN.md format (karkarl/colophon#20): - Add root DESIGN.md carrying every token, Fluent `resource` mapping, the `authority` port targets (WinUI 3 default + Reactor chat override + winapp tooling, owner, sync process), per-color dark/high-contrast themes, and the OpenClaw principles prose (voice, hierarchy, do/don't, anti-references). - Remove legacy .agents/design/design.json and .agents/design/principles.md; loadDesign now errors if both DESIGN.md and design.json coexist. - Keep .agents/design/components.jsonc and colophon.jsonc unchanged. - Repoint the AGENTS.md Colophon block at DESIGN.md. Validated with the colophon validate.mjs CLI at commit cca8a71: design system is valid. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * fix(design): remove em dashes from DESIGN.md and AGENTS.md for docs policy CI user-facing documentation check forbids em dashes. Replace them in the DESIGN.md front matter token descriptions and the managed AGENTS.md Colophon block with commas, periods, and parentheses. Front-matter edits stay YAML-safe (no colon-space introduced into plain scalars); colophon validate still passes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): align chat surface with native home refresh (#1459) Carry Barbara Kudiess's native chat modernization (#1459) into the Colophon seed as design-only guidance. DESIGN.md: bubble radius 16->12 and new composer radius (20px); accentSubtle documents the chat-local ChatUserBrush binding; icon token gains the ChatSubmit/ChatAttach/ChevronDown/Stop Fluent glyph aliases; new Chat surface section covering ChatResources brushes, Mica/content-layer layering, reading geometry, and footer controls, sourced from docs/CHAT_VISUAL_DESIGN.md and Themes/ChatResources.xaml. components.jsonc: ChatComposer panel now uses the composer radius and notes ChatComposerBrush/ChatStrokeBrush plus the Send/Stop/Attach glyphs; ChatBubble binds ChatCardBrush/ChatTextBrush with ChatSecondaryTextBrush code text and a ChatCopySuccessBrush copy checkmark; ComposerPicker notes the AutoSuggestBox+ListView model picker and slider/gauge effort picker with ChatPickerAccentBrush; ComposerPickerOptions flyout corners bump to lg (12px); ChatThread user bubble binds ChatUserBrush. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): make assistant chat turns bubbleless (#1459) The refreshed native chat renders assistant turns as plain prose flowing in the reading column (avatar + prose + footer), with only the user's own message on a soft ChatUserBrush bubble. The seed still wrapped the assistant message in a card, so correct ChatBubble and the DESIGN.md chat notes to match. components.jsonc: ChatBubble message drops the fill/border/bubble-radius/padding and flows as ChatTextBrush body prose with a 16px (token 3) block gap; note and ChatThread note now state the assistant turn is bubbleless while code surfaces and the user bubble keep the bubble radius. DESIGN.md: Chat surface geometry and Shapes clarify that assistant prose is bubbleless and the bubble radius applies to the user message and code surfaces. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): add workspace shell components from production (#1541) Populate the seed with the native Home and Sessions workspace surfaces shipped in #1541, using the app as the source of truth instead of placeholders. All bindings follow the real ThemeResource keys in WorkspaceWindow.xaml and the Controls XAML. components.jsonc: add AgentIdentityBadge (PersonPicture + name/id), ConnectionStatusFlyout (GatewayStatusContent 304px status rows with system-fill dots and action links), NotificationFlyout (NotificationFlyoutContent cards, warning recurrence badge, empty/footer), and WorkspaceShell (Mica window, 256px NavigationView pane, assistant selector, Home/Sessions nav, Owner footer + notifications bell mounting the Reactor chat). meta.note records the #1541 provenance. DESIGN.md: add a Workspace shell section documenting the pane, Owner footer (authenticated users.self with honest fallback), connection-status and notification flyouts, and the sidebar/toolbar glyph aliases. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): hyperlink buttons and agent presence dot Address review nits on the #1541 workspace components. components.jsonc: model the four accent flyout links (Approve, Open Connection, Clear all, Open notifications) as real WinUI HyperlinkButtons (transparent subtle button chrome via control.chrome:none, accent text, accent focus rectangle, subtleHover/subtlePressed states) instead of plain anchors. AgentIdentityBadge now carries a presence status dot on the avatar bottom-right (10px pill with a paper ring, state-colored like the connection dots) and ships as a subtle transparent button with hover/pressed states, matching its assistant-selector and Owner-footer roles. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): revert agent badge to plain row with dropdown chevron The presence dot and subtle-button treatment belonged to the Owner profile button, not AgentIdentityBadge. Restore AgentIdentityBadge to a plain identity row (avatar + name/id) and add a trailing muted ChevronDown (U+E70D) so it reads as the assistant selector's dropdown trigger; the enclosing transparent ComboBox supplies the dropdown chrome, hover/pressed, and focus. HyperlinkButton link treatment is unchanged. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): agent badge subtle-button interaction and single nav selection AgentIdentityBadge: restore the subtle transparent DropDownButton interaction (control.chrome:none rest, subtleHover/subtlePressed states, accent focus) while keeping the trailing dropdown chevron. WorkspaceShell: drop the assistant selector's duplicate chevron (the badge already carries one) and simplify the selector to a plain container so the badge is the sole trigger. Deselect the session row so the pane has a single NavigationView selection (Home), matching native single-select behavior. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): add UserIdentityBadge and left-align agent badge text Add a UserIdentityBadge component (owner/account identity) modeled on the WorkspaceWindow PaneFooter Owner button: a 24px avatar left of a display name over a connection-status line that pairs a leading status dot (positive/warning/critical/muted) with a muted caption. Ships as a subtle transparent WinUI Button. Wire the WorkspaceShell owner footer to reference it instead of the duplicated inline block. Left-align the AgentIdentityBadge name/handle text. Update the DESIGN.md Owner footer note. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): audit production controls into Basic/Setup/Chat/Settings Expand the v3 Colophon catalog to mirror shipping WinUI 3 code with hover and pressed states on every interactive control. Adds Basic controls (SubtleButton, HyperlinkButton, ToggleSwitch, StatusDot, Avatar, InfoBar), Setup composites (SetupProgressIndicator, RecommendedBadge, ProviderArtwork, SetupOptionCard, CapabilityOptionRow, SetupPhaseStatus, SetupWizardShell), ChatCopyButton, and Settings composites (SettingsSectionHeader, SettingsCard, SettingsToggleRow, SettingsExpanderRow, SettingsWindowShell). Reconciles ChatComposer footer to the production Voice + Send/Stop cluster. All 34 components validate; DESIGN.md Components catalog updated; no em dashes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): add setup chat and settings sidebar pages Persist filtered component selections in DESIGN.md, document the built-in catalog limitation, and correct the chat design link. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): refine native controls and preview states Align typography, TextBox, Card, SubtleButton, PersonPicture and InfoBar references with WinUI. Remove the static toggle state gallery and preserve StatusDot dimensions. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): mirror current production chat surfaces Align assistant and user messages, composer geometry, Fluent glyphs and translucent resource colors with production 9e4999c. Preserve native/browser 120-DPI comparison evidence and document Mica, font and renderer limits instead of claiming pixel identity. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): add composer picker option hover states Add token-bound row hover and pressed fills with rounded corners. Keep selection stable and replace the checkmark's overriding inline style with semantic typography. Document the existing high-contrast preview limitation. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): animate toggle and mirror production workspace Add instance-local ToggleSwitch interactions and native motion. Reconcile WorkspaceShell artwork, pane and button geometry, identity footer, and disconnected content with production. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): refine catalog pages and native setup controls Organize shared controls and feature previews, reuse accent badge and normal button variations, and align setup backplates and interactions with their documented native resources. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): refine settings and notification flyout previews Checkpoint passive iconless settings rows, shared geometry, full-header disclosure and a content-only Settings shell. Restore the Fluent chevron slot and add the notification flyout presenter backplate with token-bound shadow and preview clearance. Disclosure remains immediate with a fixed chevron. Native animation support is handed off to Colophon upstream; current-source browser and native visual proof remain uncollected. Application code and the installed plugin are unchanged. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): map notification flyout to native resources Preserve native presenter/card alpha, authored spacing, Fluent glyphs and the supplied empty-state reference. Document browser rendering limits without claiming native pixel identity. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 --------- Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3

What Problem This Solves
The Windows-native chat presentation and composer controls lag behind the more polished released web experience.
User Impact
Chat gets a centered, responsive reading/composing layout, calmer message styling, readable code, confirmed Copy feedback, native searchable model selection, and effort controls based on capabilities actually advertised by the gateway.
Intentional UI changes: the composer More menu and model Default/reset row are removed. Voice preferences remain in Settings → Voice & Audio. The separate effort Default action remains and explicitly clears the override.
Draft limitations: concurrent model/profile replacement during a held gesture and post-release/pre-acknowledgement visual timing still need focused runtime assessment. This is not a release-readiness claim.
Why This Change Was Made
Use the released OpenClaw web UI as a design reference while keeping Windows-native controls rather than embedding a WebView. Presentation is delegated to focused chat components; existing controller, snapshot, gateway, and credential owners remain authoritative.
The change preserves Markdown sanitization, inert content, the existing finite-width list workaround, and the Reactor preview.12 pin. It does not replace scrolling algorithms, change setup/pairing flows, or include the separate chat-turn cancellation/run-correlation work.
Evidence
Both columns are real WinUI captures with the same synthetic conversation and fixed viewport, not HTML mockups.
Wide chat: 800 × 720
Compact chat: 480 × 720
Provenance: Before is the untouched production source at
3ce56b8902d558a2d43a1308b4d61ccbf6856274, captured with an adapted isolated fixture. It is the original visual baseline, not the current PR base. After was freshly captured on September 18 from the exact reviewed source committed asd3a0ba6fbef2d78afa1b3f5d3479c1795f058cc7. These are nativeRenderTargetBitmapcaptures of the production chat root, not full-application or gateway evidence.Change Type
Scope
winnodeGateway scope is chat metadata parsing and existing session-option requests, not connection/pairing ownership or new endpoints.
Required proof pools
windows-winui-interactive: native chat layout, controls, feedback, accessibility, and pointer lifecycle. Local synthetic native-control proof is recorded below; this does not claim complete OS accessibility or device-input certification.windows-wsl-gateway-e2e: gateway-advertised reasoning metadata and session-option protocol behavior. Not verified on the final source through the full product gateway path.Validation
The tested source was
3c43751b2bace876de3febe478ebabeca172e3acplus dirty manifest7dd5924815d5c50912ae6c41b06103335d03b25c37991fd38fe8c8a06443a48e. Every staged blob was checked against that source before committing; commit tree is7bb6b4d63c94dc677d49c81d66ab6571bc3c215b.Exact build and test commands
Each run set
OPENCLAW_REPO_ROOTto this worktree and supplied distinct, child-verifiedOPENCLAW_TRAY_DATA_DIR,OPENCLAW_TRAY_APPDATA_DIR, andOPENCLAW_TRAY_LOCALAPPDATA_DIRroots. Real E2E/MXC execution was disabled for these local suites.An earlier Shared run hit the existing
Dispose_DuringInFlightHandler_DoesNotSurfaceObjectDisposedExceptionfailure. It passed unchanged on subsequent full runs; it is not claimed fixed here.Real Behavior Proof
d3a0ba6fbef2d78afa1b3f5d3479c1795f058cc7, with pre-commit source identity stated above.mediumonce. UIA RangeValue remained usable afterward.maincommits; current-base validation remains a readiness gate.Independent Claude Opus 5 and GPT-5.6 Sol source reevaluations confirmed the four repaired seams. Their lower-confidence concurrency/visual-timing candidates remain documented rather than being turned into speculative fixes.
Security Impact
Compatibility and Migration
Review Conversations
New draft PR; hosted review conversations have not yet been addressed.