Skip to content

fix: keep Settings controls reachable after a save fails - #196566

Merged
roboclaw-bot merged 5 commits into
mainfrom
openclaw/ui-rhythm-settings-status
Nov 10, 2026
Merged

roboclaw-bot merged 5 commits into
mainfrom
openclaw/ui-rhythm-settings-status

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: the last Settings controls cannot be clicked when a failed save card covers them, even after scrolling to the end.

User Impact

Users can keep working in Settings without retrying or discarding an unrelated failed save first. The readable error, Retry, and confirmed Discard remain available. A CI-exposed Logs return-to-tail case also reliably resumes Auto-follow. This PR's authored changes do not change configuration, permissions, or the save protocol.

Why This Change Was Made

The existing desktop/mobile shell grids own one optional intrinsic status row, which is zero-height when unused. Failed Settings feedback occupies it; Saving/Saved still overlay content without moving fields. The correction removes competing grid definitions from lazy Settings CSS, retires superseded mobile/floating declarations, and drops an unnecessary positioned wrapper. No page-specific padding, measurement state, or extra notice/control.

Requested by @vincentkoc.

Work sessions

Linked for team reference; these sessions aren’t public.

Evidence

  • Exact built-UI flow: 390×844 Dreams → Turn off → rejected mocked config.patch → Cancel → maximum scroll. The base click hits the failure title; the fixed click expands the wiki while the error remains. The committed regression is red on base and green with the correction, including a 390×500 viewport, failed Retry, and independently scrollable long reason.
  • Before main integration, eleven actual app scenarios had byte-identical before/after screenshots and equal measured geometry without a failure: desktop/phone Chat, phone New Session, desktop/tablet/phone Settings, native-framed Chat/Settings, embedded Chat/Settings, and expanded board. The extra track was 0px; embedded roots retained their separate two-row grid. This is retained proof of the original correction, not a fresh all-surface comparison against integrated main.
  • Original owner correction: 19 focused E2Es passed across Settings recovery, config saves, split/expanded-board focus, and Custodian/onboarding headers. After removing the positioned status wrapper, all 3 affected status tests passed again (32.00s including build; new regression 1.91s).
  • Production remains net 4 fewer lines versus the integrated main base. No new state/observer/manager. The exact test allocation remains 195 lines: 184 for Settings reachability and 11 for Logs; the shared scalar is unchanged.
  • Independent P0–P2 autoreview (Codex gpt-6.1-sol): original shell candidate against 0b91142, Logs delta against 0a2841b, and fresh complete integrated candidate against 5ac2102, all scoped-clean with no actionable findings. The integration review included complete affected owners and main's overlapping CSS/indicator changes; the reviewed source snapshot was preserved byte-for-byte in 9ad1a74.
  • Native framing is Chromium simulation with canonical flags/classes and 52px inset, not physical macOS/WebKit. No live Gateway, config, or provider writes. No prior-head CI is claimed as current-head proof.

Main integration for the named prepared-row failure

Head 9ad1a74 merges verified main 5ac2102 into prior head 25af986. The reason is the prepared-row 26→31 failure in run 42800618013, job 129777866045, not a CI rerun for green.

The canonical readiness repair a29d52d arrived through merged #196564 (71c83b7). It waits for the real optional prewarmer before the measured work boundary, preserving the strict no-extra-render assertion. The integrated test is byte-identical to main (4ea7d1e03ef2d76dbac39e95fbe0d771a8d618a4); no duplicate repair was authored.

The merge was conflict-free. Main's phone gutter owner and selector fix are preserved. Main's deferred-save presentation is adopted unchanged and uses the same failure-card layout. Focused integrated checks:

  • Prepared-row file: 30 passed, 7.25s.
  • Sessions Chromium file: 3 passed, 1.60s. Existing strict-read warnings retained; this is not WebKit proof.
  • Settings reachability plus current config-recovery E2Es: 6 passed, 26.75s, including deferred application, partial-publication recovery, maximum-scroll wiki click, short viewport, long reason, and failed Retry.
  • UI types, seven-file format check, three-file CSS lint, and diff check passed. Unchanged Logs proof is reused. No CI rerun or force push.

Investigated WebKit failure remains unexplained

At prior head 25af986, run 42800618013, job 129777865955 failed the Sessions 1280px test at view.invalidation.browser.test.tsx:147: expected [scrollTop, scrollHeight] = [4089, 4763], received [4519, 4763]. This is the two-frame stability guard before draft.focus(). The 430px movement matches the viewport shrinking from 630px to 200px, but why it failed to settle is unproven.

Seven determining source/test/style files were unchanged from the original PR base; the bare Sessions fixture does not contain this PR's changed shell selectors. That is source binding, not a reproduced inherited-only exception. Local WebKit executed zero tests because the configured egress proxy refused task-owned loopback traffic. No bypass was attempted. The supported remote allocation queued and was stopped; run 42803465910 was confirmed cancelled. Original failure, transport, and cancellation receipts are retained. A passing replay alone does not explain or repair this original failure.

Current-head CI confirmation: at 9ad1a74397649424d51e8144c0cb799833b29879, the verified check rollup has 48 passed / 48 neutral, with no failures or pending checks. The complete run 42808883340, job 129805679133 log records all three actual Sessions WebKit cases passing: native undo 399ms, 1280px focus/details/page selection 1867ms, and the 390px case 1373ms. This establishes current-head WebKit execution and passing results; it does not establish the cause or a fix for the prior 25af986 failure.

CI repair: Logs Auto-follow

At 0a2841b, run 42794812790, job 129758053681 failed logs-scroll.e2e.test.ts:135: the newest row was reachable, but Auto-follow remained false. The classifier reported new (matching main job passed; selected scope not compared).

The Logs owner depended on an earlier scroll event to remember that the reader had left the tail. Native offsets can precede/coalesce that event while an incoming batch renders. The return gesture could then reach the tail without re-enabling following. The repair records the gesture's starting position using existing intent state, preserving manual off-at-tail behavior without changing timers.

  • The 11-line owner regression is red before and green after. In the built UI, withholding only the intermediate upward-scroll notification reproduces tail-plus-unchecked with both PR and base shell geometry; the identical experiment passes after repair. This is controlled event-delivery proof, not a claim CI recorded that exact interleaving.
  • The original Logs owner and E2E were byte-identical to the PR base (owner blob da6f7e30326644b1b1542b798bc7edba02c4924c). The source defect is repaired here rather than using a passing replay or presumed inherited-failure exception.
  • 27 owner/consumer tests passed (2.89s). The unchanged failing Chromium E2E passed (8.813s test; 27.93s invocation). Local repair proof targets Chromium; fresh CI owns WebKit. Types/format passed; lint succeeded with four unchanged warnings outside the repair.

Matched canonical build cost

Same-host builds of integrated main and the reviewed candidate preserve both CSS ceilings:

Metric Main 5ac2102 Integrated candidate Delta Fixed ceiling
All CSS raw bytes 1,712,772 1,712,764 -8 1,712,885
All CSS normalized gzip bytes 328,835 328,840 +5 328,859
New Session boot normalized JS gzip bytes 803,532 803,532 0 803,364

CSS headroom is 121 raw bytes / 19 gzip bytes. No budgets or baselines were raised, and main's other savings are not attributed to this patch. The earlier original-base comparison was -8 raw / +2 gzip; the integrated compression context measures -8 / +5.

Remaining build limit: New Session boot JS is 168 bytes over its fixed ceiling on both matched main and candidate builds, with zero growth from this PR. Canonical builds completed in report-only mode; this is not an all-budgets-green claim.

Visual evidence

The same four inspected, uploaded, rendered, and decoded assets are retained. They document the original layout repair; integration adds no separately authored visual change. No new pixel-identity claim against current main or duplicate upload is made.

BeforeAfter
Before: wiki row covered by the failed save After: wiki row reachable with failure still present
Short viewport and shared Settings field-row context Short viewport: readable scrollable error and reachable wiki Plugin field rows remain reachable while failure persists

Worked on by

roboclaw-bot and others added 2 commits November 10, 2026 09:37
Give the existing failure card an intrinsic shell row while retaining overlay geometry for transient save feedback. Keep config authority, retry and discard unchanged.

Co-authored-by: vincentkoc <[email protected]>
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 6137ee63-ae49-4c7c-9ca0-a115af1ce4a3
@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 10, 2026
Extend the existing desktop and mobile grids with an intrinsic status row; retire superseded mobile/floating grid declarations and the unnecessary positioned status wrapper. Empty-state root screenshots stay byte-identical in eleven app scenarios. Matched canonical CSS changes by -8 raw bytes and +2 gzip bytes, remaining inside both fixed ceilings.

Co-authored-by: vincentkoc <[email protected]>
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR reserves shell space for failed-save feedback so Settings controls remain reachable.

Example: At 390×844, turning off Dreaming fails and the user scrolls to the last Settings row.

  • Before: The failure card covers Memory wiki and intercepts its click.
  • After: Memory wiki remains reachable above the card while Retry and Discard changes stay available.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, compact layout repair with direct visual proof and a meaningful browser regression; broad validation still has an unattributed required-check failure.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected built-Control-UI screenshots demonstrate the changed Settings layout at 390×844 and 390×500 with rejected synthetic config writes, showing formerly covered controls above the persistent failure card; native framing is Chromium simulation, and no live Gateway write is claimed.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A persistent failed-save card prevents users from clicking the last Settings controls even at maximum scroll.
Reason: The maintainer-authored repair restores access to unrelated controls while keeping the readable error, Retry, and confirmed Discard; the requested direction is credited to @vincentkoc.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR addresses a concrete Settings obstruction with a focused layout repair and convincing visual evidence; no introduced defect was identified.

Priority: P2
Reviewed head: 0a2841b7516c6650fd00d8e90db6d0c86e99987b

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI shell lays out Settings content and save feedback; config-save outcomes select either compact overlay feedback or an interactive failure card.

flowchart TD
  A[Settings edit] --> B[Config save owner]
  B --> C[Save indicator]
  C --> D[Saving or Saved overlay]
  C --> E[Failure status row]
  E --> F[Scrollable Settings content]
Loading

Technical review

Best possible solution:

Retain the failure-only intrinsic shell row and existing save-recovery owner.

Do we have a high-confidence way to reproduce the issue?

Current-main overlay placement and the inspected before capture establish the obstruction; this read-only review did not execute target code.

Is this the best way to solve the issue?

The patch repairs the existing shell owner directly, preserves recovery semantics, and avoids padding estimates, observers, or a second layout owner.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against d553516036b6.

Provenance checked

  • Settings save-feedback placement changes intended behavior with a stated reason (af49d64: Keep autosave outcomes visible without shifting the form.)
  • Interactive failed-save card keeps the original intent (e01e177: Present a readable, scrollable reason and stable recovery actions in one fixed-width card.)
  • Responsive shell ownership keeps the original intent (b1b5e21: Use platform-aware drawer layout while preserving native dashboard navigation.)
  • Floating phone header keeps the original intent (37c4caa: Float phone chrome over scrolling content with a zero-height header track.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit af49d64 adds ui/src/styles/settings.css:1775 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: af49d6401dd3; files: ui/src/styles/settings.css)
  • Peter Steinberger: Raw commit b1b5e21 adds ui/src/styles/layout.mobile.css:83 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b1b5e212c09c; files: ui/src/styles/layout.mobile.css)

PR surface

Source -7, Tests +184, Other +3. Total +180 across 5 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 3 14 21 -7
Tests 1 184 0 +184
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 3 0 +3
Total 5 201 21 +180

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Production versus regression code Production +14/-21 lines; tests +184 lines Production shrinks by consolidating shell ownership; browser fixture growth supports distinct pointer-reachability, short-viewport, failed-retry, and long-reason behavior.

Labels

Label changes:

  • add P2: A failed save can obstruct unrelated Settings controls, but existing recovery actions remain available and the affected surface is limited.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: A failed save can obstruct unrelated Settings controls, but existing recovery actions remain available and the affected surface is limited.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Determine whether the exact-head Logs auto-follow failure is inherited or caused by the shared shell change.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 10, 2026, 5:12 AM ET / 10:12 UTC.

roboclaw-bot and others added 2 commits November 10, 2026 10:36
Remember when a return gesture starts above the tail instead of requiring an earlier scroll event to have been delivered. Preserve manual off-at-tail behavior. The deterministic owner regression fails before this fix and passes after; the same event-delivery case is red/green in the built UI with both current and base shell geometry.

Co-authored-by: vincentkoc <[email protected]>
Integrate canonical main 5ac2102 to reuse the prepared-row test readiness repair from merged PR #196564 for the named CI failure on 25af986. Preserve the investigated, cause-unproven Sessions WebKit resize failure and its transport limitations; this integration does not claim to repair it.

Co-authored-by: vincentkoc <[email protected]>
@roboclaw-bot
roboclaw-bot merged commit bad2d80 into main Nov 10, 2026
105 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/ui-rhythm-settings-status branch November 10, 2026 11:58
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 11, 2026
…6566)

* fix: keep Settings controls reachable after a save fails

Give the existing failure card an intrinsic shell row while retaining overlay geometry for transient save feedback. Keep config authority, retry and discard unchanged.

Co-authored-by: vincentkoc <[email protected]>

* fix: keep Settings controls reachable after a save fails

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 6137ee63-ae49-4c7c-9ca0-a115af1ce4a3

* refactor(ui): give save feedback one shell grid owner

Extend the existing desktop and mobile grids with an intrinsic status row; retire superseded mobile/floating grid declarations and the unnecessary positioned status wrapper. Empty-state root screenshots stay byte-identical in eleven app scenarios. Matched canonical CSS changes by -8 raw bytes and +2 gzip bytes, remaining inside both fixed ceilings.

Co-authored-by: vincentkoc <[email protected]>

* fix(ui): resume Logs auto-follow after coalesced scrolling

Remember when a return gesture starts above the tail instead of requiring an earlier scroll event to have been delivered. Preserve manual off-at-tail behavior. The deterministic owner regression fails before this fix and passes after; the same event-delivery case is red/green in the built UI with both current and base shell geometry.

Co-authored-by: vincentkoc <[email protected]>

---------

Co-authored-by: vincentkoc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant