Seed design system for OpenClaw Windows Hub#962
Conversation
Add .agents/design/ (design.json, components.jsx, principles.md) with tokens derived from the WinUI 3/XAML surfaces. The app themes off Windows Fluent system resources, so color/type/radius tokens map to Fluent (SystemAccentColor, Segoe UI Variable, Cascadia Mono) rather than a bespoke palette. No application code changed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Refine control padding to WinUI defaults (Button 11,5,11,6 with 100px min-width; Field TextControlThemePadding 10,5,6,6, min-height 32; Card Gallery padding 16,12) and add reusable chat components grounded in the native timeline and composer: ChatBubble, ChatComposer, ChatThread. Add a 'bubble' (16px) radius token mirroring OpenClawChatTimeline CornerRadius and point ChatBubble at var(--radius-bubble). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Distinguish user vs assistant bubbles and enrich the assistant footer to match the native timeline (OpenClawChatTimeline): - Add a 36x36 circular assistant avatar (subtle fill + 1px line border, top-aligned, 8px gap) left of the agent bubble; user bubbles show none, mirroring showUserAvatar=false. Sparkle glyph stands in for the app logo. - Give every bubble a muted timestamp footer; assistant footer also shows the context-usage readout (ChatUsageFormatter's used/context (pct%)) with a subtle inline Copy affordance right of the usage text. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Mirror the GitHub Copilot composer layout: left cluster = Add, model picker, reasoning-effort picker; right cluster = mic + Send. Only Send carries the accent; every other control is subtle chrome. Give the icon buttons and inline pickers WinUI SubtleButtonStyle interaction states — SubtleFillColorSecondary on hover, the lighter SubtleFillColorTertiary on press, glyph/label darkening to primary text, 120ms ease-out. Add subtleHover / subtlePressed tokens (Fluent subtle fills) so no hex is hard-coded in the component. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Codex review: needs real behavior proof before merge. Reviewed July 10, 2026, 4:30 PM ET / 20:30 UTC. Summary Reproducibility: yes. for the review concerns: the unchanged PR head and current-main native chat source directly reproduce all three contract mismatches with high confidence; no runtime bug reproduction is applicable. Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: If maintainers want this surface, make native XAML/C# the explicit canonical source, represent Windows theme resources semantically rather than as one fixed palette, cover the complete native chat contracts, assign a synchronization owner, and attach current-head gallery proof for every export and supported theme; otherwise keep native sources as the sole UI contract. Do we have a high-confidence way to reproduce the issue? Yes for the review concerns: the unchanged PR head and current-main native chat source directly reproduce all three contract mismatches with high confidence; no runtime bug reproduction is applicable. Is this the best way to solve the issue? No in its current form; the maintainable path is either a fully derived, owned, semantically themed catalog with complete parity proof or an explicitly approved future-state redesign, not an ambiguous parallel source. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 053501c6dfae. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (3 earlier review cycles)
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: Seed design system for OpenClaw Windows Hub This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
Rename the design system's brand from the product name (OpenClaw Windows Hub) to Windows Fluent UI for OpenClaw, reflecting its basis in Windows Fluent design conventions. Clarify that it is the design system for the OpenClaw Windows Hub app in design.json and principles.md. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The CSS/JSX scanner finds no files in this XAML repo; every token was derived by manual inspection of the WinUI 3 XAML and C# surfaces. Update meta.updatedBy and meta.note to reflect that accurately. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Seeds a design system under
.agents/design/for the OpenClaw Windows Hub (WinUI 3 tray app), named Windows Fluent UI for OpenClaw. No application code is changed — this only adds files under.agents/design/.Built with Colophon
Authored and previewed with the Colophon Copilot plugin — an experimental design-system canvas that treats
.agents/design/as the source of truth and rendersdesign.json+components.jsxlive (and feeds them back to Copilot when it builds UI). The tokens here were seeded from the app's own WinUI/Fluent surfaces and refined in the canvas.What's included
Chat components
OpenClawChatTimelinemetrics.Tokens of note
bubble(16px) matching the native chat bubble corner radius.subtleHover/subtlePressedfor subtle/transparent controls (Fluent SubtleFillColorSecondary/Tertiary).Validation
new Functionpipeline.Stacked work
A follow-up branch applies the
ChatComposerpattern to the real app chat UI (stacked on this branch): karkarl#1.Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com