Redesign WSL gateway onboarding (stepped, brand-themed, accessible)#792
Redesign WSL gateway onboarding (stepped, brand-themed, accessible)#792bkudiess wants to merge 1 commit into
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 23, 2026, 2:58 AM ET / 06:58 UTC. Summary Reproducibility: not applicable. as a feature PR rather than a bug report. The PR body and screenshots give a real-behavior proof path, and source inspection verified the earlier setup-contract regressions are no longer present on the latest head. Review metrics: 2 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:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the redesign only after maintainers accept the onboarding UX and permissions timing, verify the real setup flow/accessibility, and keep the current setup guard, retry, and typed wizard-answer contracts intact. Do we have a high-confidence way to reproduce the issue? Not applicable as a feature PR rather than a bug report. The PR body and screenshots give a real-behavior proof path, and source inspection verified the earlier setup-contract regressions are no longer present on the latest head. Is this the best way to solve the issue? Unclear until maintainer review: the implementation now preserves the important current-main setup contracts, but the broad UX, permissions timing, and accessibility direction still need product acceptance. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 260fb90c6dc7. 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
|
Presentation-only redesign of the OpenClaw Windows setup/onboarding flow. No changes to connection, pairing, the install pipeline, credentials, or the gateway protocol. - Welcome: 2-card chooser (Install a local gateway [WSL, recommended] / Connect to an existing gateway). - Capabilities: rebuilt into a stepped, accreting flow like the gateway-onboard transcript: (1) what your agent can do (profile + fine-tune toggles), (2) Windows permissions (merged in from the old standalone step; each OS permission row shows only when its capability is enabled), (3) review & install. Honors SetupConfig.SkipPermissions by hiding step 2 (2-step flow) without touching the SetupConfig schema. Writes the 9 CapabilitiesConfig flags before the pipeline runs. - Gateway onboard: restyle + vertical transcript of answered steps; auto-scroll keeps the active step's title in view (so long option lists no longer hide the step intro). Protocol methods unchanged. - Progress: tighter step rows; "Live activity" ledger flows below the steps and opens downward instead of being pinned to the window bottom; themed spinner. - Complete: summary cards + node-mode callout (removed the "what changed" expander). - Brand-red accent themed for the setup window only (light + dark). Filled controls use WCAG-AA reds (white text >= 5:1); the bright coral #FF5C5C failed AA at 3.03:1, so it is kept only for accent text/links. - Shared SetupPermissionHelper used by both the merged step and the legacy standalone PermissionsPage (kept for the dev preview route). - Dev-only preview route via OPENCLAW_SETUP_PREVIEW_PAGE, gated to DEBUG builds (inert in Release) so it can never bypass the setup run lock or pipeline. Before/after + real onboard walkthrough screenshots in docs/onboarding-redesign/. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
e2f2f28 to
5e5a0e3
Compare
What this is
A redesign of the OpenClaw setup/onboarding flow with a power-user lens: clearer, fewer clicks, transparent about what gets installed, brand-themed, and theme-aware (light + dark). The gateway-onboard step reads as a vertical transcript, and the pre-install screen is a short stepped flow that ends in install.
Try it
Dev-only preview route to jump straight to any screen without a real install (gated to DEBUG builds — inert in Release):
Screens
1 · Welcome — chooser
2 · Capabilities — stepped flow (steps accrete with checkmarks, like the onboard)
Step 1 — what your agent can do

Step 2 — Windows permissions (merged in from the old standalone step)

Step 3 — review & install

3 · Gateway onboard — vertical transcript
Real end-to-end onboarding walkthrough
Captured from an actual install + gateway onboard run. The transcript accretes as each gateway question is answered, and the active step is always shown with its title.
4 · Progress — tighter steps + "Live activity" ledger that flows below them
5 · All set
Notable changes
SetupConfig.SkipPermissions(hides the step). The standalone permissions page is dropped from the flow (kept for the preview route).#FF5C5Cfailed AA at 3.03:1, so it's retained only for accent text/links.SetupPermissionHelperused by both surfaces; removed the "what changed / how to undo" expander from the Complete page.Validation
build.ps1✅Screenshots are also committed under
docs/onboarding-redesign/(visible in the Files changed tab).