Repository navigation
fix(onboarding): align setup surfaces and keep provider loading inline - #1562
Conversation
Standardize recommendation badges, capability spacing, native setup actions, pairing approval layout, and Gateway choice presentation. Keep provider loading and errors inline while preserving interactive prompts and cancellation safeguards. Add isolated native screenshot fixtures and record proof limitations in the draft PR. Co-authored-by: Copilot App <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
Restore the original pairing popup spacing and icon actions while retaining wrapped access descriptions. Cover normal and long-scope requests with isolated light/dark UI proof. Co-authored-by: Copilot App <[email protected]>
Replace the incorrect disabled-Cancel expectation with assertions that closing cancels the exact preallocated session once, without verification or setup handoff. Co-authored-by: Copilot App <[email protected]>
Hanselman review verdict: verified findings addressedUpdate: both verified findings are addressed by the author's Reviewed No issues were independently identified by both reviewers. These were initially LOW consensus; Opus subsequently confirmed both after reconciliation, which is not an independent second discovery.
Validation at reviewed head
An isolated ARM64 app was launched and its responsive Setup window checked through UI Automation. This is not complete visual or gateway proof. Keyboard/Narrator focus and live-region risks remain unverified, as do live installation/authentication/pairing. Recheck/Activate popup transitions match the documented design and are not an additional confirmed defect. Intervening author update: before this follow-up, the PR advanced to Fixes in f7d6fab
Validation at fixed source stateAll commands below ran on the source subsequently committed unchanged as
Four timing-sensitive SetupEngine tests failed in an earlier run overlapping the UI build. All 12 tests in the affected focused selection passed on retry without the concurrent build. The full repository build and required Shared, Tray, and SetupEngine suites were then rerun serially and passed as reported above. No unrelated test changes were made. Narrow Opus 5.5 rubber-duck review of the complete fix delta found no blocking issues. The structured helper command Required proof pools
Real behavior proofThe new tests hold the actual page's Copied current-source diagnostic: The same checks passed for text, secret input, multiselect, consent, and device-code acknowledgement. Rendered-element captures are local supplementary evidence, not full-window compositor proof. Not verified / blocked: complete current-head native visual gallery, keyboard/Narrator announcements, real provider authentication, and live Gateway pairing/installation. Earlier PR screenshots predate these fixes and are not claimed as current-head evidence. |
Keep disabled prompts mounted through asynchronous answer submissions without treating unrelated uncertain states as active input. Preserve early owned-session cancellation and correct its documentation. Add delayed-answer, recovery and cancellation UI regressions. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 8cc5709e-aa37-4d95-b372-439a7dd33a89
|
Manually verified updated setup flow. |
What Problem This Solves
Fixes inconsistent spacing, recommendation badges, oversized actions and loading-only popups left after #1531 (feat: guide Windows onboarding from setup to native AI tasks).
User Impact
Setup uses consistent compact actions and recommendation badges. Provider loading stays on Connect your AI; actual input, sign-in instructions and recovery decisions still open the provider dialog.
Why This Change Was Made
Pairing decisions, approval arming, permission scopes, capability selection and hardware eligibility remain unchanged. The migration onboarding redesign is queued separately and is not included. The separate CI-readiness patch is also not included.
Evidence
27 reviewed full-window screenshots are linked below. They show production controls using isolated synthetic fixtures, not live installation, provider authentication or Gateway pairing. Every screenshot comes from the final frozen source state committed as
c14105d01530c64a72122bf6b51fe9d507f9891b.Draft limitation: targeted native proof is 9 passed / 1 failed. Light Welcome OCR read
Local AIasLocal Al, stopping that light gallery before unavailable-Welcome and Capabilities. Dark Welcome and Capabilities passed and have complete captures. The rejected light image is not attached as passing proof.Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: onboarding, provider loading and pairing-approval visuals. Partially fulfilled by the captures below; the light Welcome/Capabilities gallery gap remains explicit.Validation
.\build.ps1dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-restore --filter "FullyQualifiedName~GatewayAiSetupControllerTests|FullyQualifiedName~GatewayAiSetupLifecycleContractTests"dotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj --no-restore -p:Platform=x64 -r win-x64dotnet vstest <built UI DLL> --TestCaseFilter:"FullyQualifiedName~FollowupProof|FullyQualifiedName~VerifiedChooser_ShowsNativeChoicesWithoutIssuingOrFinalizing"in separate Light/Dark hostsgit diff --checkThe earlier Shared
McpHttpServerTests.Dispose_DuringInFlightHandler_DoesNotSurfaceObjectDisposedExceptionfailure did not reproduce in its focused rerun or subsequent full suites.Rubber-duck review found no remaining blocking issues after correcting provider cancel admission, retaining actionable prompts during submission and exposing inline errors.
python .agents\skills\autoreview\scripts\autoreview --mode commit --commit HEADconstructed the complete normalized bundle, but the Codex engine exited 1 without a valid review result. No clean structured autoreview result is claimed.Real Behavior Proof
c14105d01530c64a72122bf6b51fe9d507f9891b, captured before commit from the identical source state based on3eed1f1bac56b1861aca9729fbbb42fe0efc1fa7.51B60EF9E027B8A7FE5812C301871E5DCAA796041154777D5BD51AE504EB668B; zero source drift after capture.FollowupProof_CapabilitiesAndWelcome,FollowupProof_NativeInstallCompactActions,FollowupProof_PairingCompactHeaderScopesAndArming,FollowupProof_ProviderInlineLoadingCancelAndInput, andVerifiedChooser_ShowsNativeChoicesWithoutIssuingOrFinalizing; screenshot sequences include all scrolled viewports.Gateway choices: general Local AI card, native emphasis and WSL fallback
Synthetic available projection:
Synthetic unavailable projection:
PC capabilities: heading, Balanced badge and complete padded footer
Collapsed view, complete viewport sequence:
Expanded Fine-tune, complete viewport sequence:
Native installation: compact Back, Cancel and Retry in both themes
Pairing approval: padlock, compact actions and wrapped scopes
Complete top/bottom views in each theme. No pairing decision was sent.
Provider flow: inline loading/error/cancel, then real input dialog
Light:
Dark:
Shared Chat recommendation badge: enabled and disabled
Security Impact
Compatibility and Migration
OPENCLAW_UI_TEST_APP_THEMEselects a fresh fixture application's theme; no product configuration change.Review Conversations