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: found issues before merge. Reviewed June 27, 2026, 7:40 PM ET / 23:40 UTC. Summary Reproducibility: yes. for the review finding from source: the default config keeps SkipWizard=false and SkipPermissions=false, the PR adds inline permissions before install, and the wizard success path still routes to the standalone permissions page. I did not run the WinUI flow in this read-only review. 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 findings
Review detailsBest possible solution: Keep exactly one permissions review in the normal onboarding path, preserve the existing setup guard and wizard contracts, then land only after maintainer UX approval and current-head visual/setup proof. Do we have a high-confidence way to reproduce the issue? Yes for the review finding from source: the default config keeps SkipWizard=false and SkipPermissions=false, the PR adds inline permissions before install, and the wizard success path still routes to the standalone permissions page. I did not run the WinUI flow in this read-only review. Is this the best way to solve the issue? No, not yet: the redesign may be a good direction, but the current patch does not fully remove or replace the standalone permissions stop and still needs maintainer approval for the permission-timing change. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d08a3e749973. 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
|
e2f2f28 to
5e5a0e3
Compare
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>
5e5a0e3 to
6d89068
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).