Repository navigation
fix(macos): onboarding setup rows ignore clicks across their blank areas - #130273
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 1:58 PM ET / 17:58 UTC. ClawSweeper reviewWhat this changesMoves existing selectable-row styling into three macOS onboarding button labels so clicks on each row’s blank area activate local-model setup, API-key entry, or provider sign-in. Regression provenancePossible regression — probable (reproduction; reviewed change). No predecessor PR is attributed. Merge readinessKeep open for the maintainer landing decision: the narrow SwiftUI change correctly makes the full visible setup rows button-owned, while current main still leaves their selectable chrome outside plain buttons. No blocking correctness or security finding was identified. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togethermacOS onboarding renders provider setup choices from the detected Gateway catalog and sends the selected choice into local setup or provider authentication. The selectable-row modifier supplies the padded full-width visible shape, which must be owned by the SwiftUI button to receive clicks. flowchart LR
A[Gateway provider catalog] --> B[macOS onboarding choices]
B --> C[SwiftUI button label]
C --> D[Full selectable row hit shape]
D --> E[Setup or provider sign-in]
E --> F[Onboarding verification]
Decision needed
Why: The code path is clean and the remaining judgment is whether the documented native desktop proof limitation is acceptable for this member-authored, protected-label PR. Before merge
Agent review detailsSecurityNone. PR surfaceOther 0. Total 0 across 1 file. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land this net-neutral label-owned hit-target repair after exact-head macOS validation; capture a sanitized signed-app click recording later if that environment becomes available. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main places the padded rounded content shape outside plain button labels, while the PR and healthy sibling rows place it inside the label. A live signed-macOS click reproduction was not available in this review environment. Is this the best way to solve the issue? Yes: moving the existing shared modifier into the existing button labels is the narrow canonical repair and matches healthy onboarding and Gateway selection patterns without duplicating behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f1491a203c88. LabelsLabel changes:
Label justifications:
EvidenceWhat 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
|
|
Merged via squash.
|
What Problem This Solves
Fixes an issue where users setting up OpenClaw on macOS would see nothing happen when clicking the blank portion of a local-model setup, API-key, or provider-sign-in row during onboarding.
Why This Change Was Made
The shared selectable-row styling already provides the complete rounded hit target, but these three plain buttons applied it outside their labels. Move the existing styling inside each label, matching the healthy onboarding and Gateway-selection rows, so the actual button owns the complete visible hit target. Preserve existing actions, selected styling, disabled states, and the separately fixed model-selection row. Production change: +3/-3, net zero.
User Impact
The complete visible local-model, API-key, and provider-sign-in rows respond to clicks instead of silently ignoring clicks across their blank areas.
Evidence
swift test --package-path apps/macos --skip-build --filter 'OnboardingAISetupTests|OnboardingViewSmokeTests': 125 tests passed across both complete native onboarding suites.swiftformat --lint apps/macos/Sources/OpenClaw/OnboardingAISetupView.swift --config config/swiftformatandgit diff --checkpassed.