Repository navigation
fix(macos): make OpenClaw settings pane responsive - #128177
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 3:35 AM ET / 07:35 UTC. ClawSweeper reviewWhat this changesThis PR makes the macOS OpenClaw Settings chat fill the available detail pane, adds vertical scrolling when constrained, and adds native layout tests. Merge readinessNo blocking correctness finding: current main still renders this pane without a viewport-sized scroll container, while this PR adds that pane-local behavior with focused layout coverage and supplied before/after macOS proof. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherThe macOS Settings root selects the OpenClaw detail pane after inference is configured. That pane contains the onboarding chat, whose transcript and reply controls must remain usable as the Settings window changes size. flowchart LR
A[Settings window] --> B[Settings detail pane]
B --> C[OpenClaw setup chat]
C --> D[Viewport sizing and scrolling]
D --> E[Reachable transcript and reply controls]
Before merge
Agent review detailsSecurityNone. PR surfaceOther +106. Total +106 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the viewport-sizing and scrolling policy in this pane, not in the shared settings container, then merge after normal exact-head maintainer validation. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the path: current main renders the OpenClaw pane as a non-scrollable stack, while the PR’s AppKit-hosted tests cover normal-height expansion and constrained-height scrolling. Is this the best way to solve the issue? Yes. A local geometry and scrolling boundary repairs the pane that owns the chat without changing shared settings layout or the chat’s transcript behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8c5a12c112e6. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
2ec3b55 to
ee4d512
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|


Closes #128173
What Problem This Solves
The native macOS OpenClaw Settings pane leaves most of the detail area unused at normal window sizes and provides no reliable vertical scroll path when the window is short.
Why This Change Was Made
ScrollViewso constrained content remains reachable.User Impact
The OpenClaw chat uses the available Settings window instead of staying as a compact card, and the pane scrolls when vertically constrained.
Evidence
swift test --package-path apps/macos --filter SystemAgentSettingsLayoutTests— 2/2 passed.config/swiftformat— 0/2 files require formatting.config/swiftlint.yml— 0 violations.git diff --check— passed.AI assistance was used to investigate, implement, test, and review this change. The final diff and proof were inspected against current
main.