Repository navigation
fix: keep Settings controls reachable after a save fails - #196566
Conversation
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
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
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]>
|
Codex review: needs maintainer review before merge. What this changesThis 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.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete 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 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe 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]
Technical reviewBest 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
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -7, Tests +184, Other +3. Total +180 across 5 files. Added test files: 1. View PR surface stats
Preflight sourceSource 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
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 10, 2026, 5:12 AM ET / 10:12 UTC. |
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]>
|
Merged via squash.
|
…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]>
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
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:
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 beforedraft.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.
da6f7e30326644b1b1542b798bc7edba02c4924c). The source defect is repaired here rather than using a passing replay or presumed inherited-failure exception.Matched canonical build cost
Same-host builds of integrated main and the reviewed candidate preserve both CSS ceilings:
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.
Short viewport and shared Settings field-row context
Worked on by