Repository navigation
fix(ui): Appearance settings stay loading for guests - #196516
Conversation
Keep personal Appearance preferences usable when privileged config and catalog reads cannot run. Distinguish skipped and denied reads from pending work, retain accepted controls, and mask initial unread values using their native control boxes. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 782c96c9-f9c5-49db-bce7-74b922547eab
|
🦞👀 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. |
Visual evidence: guest Appearance and the held-config transitionRendering verification and originating-chat attachment delivery are still pending. Guest desktop — 1280 × 1000, darkBefore After The After image reuses the earlier settled guest capture; the subsequent operator-only pending-geometry refinement does not change this guest state. It is not a fresh production-bundle capture. Same fixed candidate — operator mobile, 400 × 1000, darkConfig delivery held Config accepted The operator pair is a held-to-accepted transition on the same final candidate, not a base-versus-fixed comparison. These captures use synthetic fixture data. The six-case geometry result qualifies this transition, not universal zero layout shift. |
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
Keep personal Notifications available without Gateway config-read access. Retain accepted session-source values during schema revalidation while preserving the existing mutation interlocks and privileged read guards. Add page/read-owner regressions for guest native controls and retained explicit/default source values, with an exact 198-line test allocation. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 2b7e6bdc-fc6b-4b1f-8444-e8053b6b38cb
Notifications and retained source-value repair evidenceSynthetic fixture data against a real isolated Gateway and source Control UI. Before is published head 3d6022e; After is the exact tree committed in d6c474a. The native bridge is simulated through the production JavaScript owner, not macOS permission or delivery proof. Notifications — Before Notifications — After Accepted Sources during held schema revalidation — Before Accepted Sources during held schema revalidation — After The Sources pair holds the actual schema reply after a task-owned plugin reload, rather than substituting RPC responses. No packaged-build, cross-browser, inference or universal layout-shift claim. |
Keep personal Appearance and Notifications controls available independently of privileged configuration reads. Preserve accepted settings while refreshes settle and show unavailable states truthfully. Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>








What Problem This Solves
Fixes: guest Appearance settings stay on loading placeholders even though their privileged reads are never dispatched.
User Impact
Personal Appearance preferences remain usable for session-only guests while operator-only settings settle into clear guidance instead of endless loading. Unobserved or unavailable observer status no longer claims that a small model is missing. Personal Notifications also remains available without config-read access, and accepted Session Sources values stay readable during schema refresh while editing remains disabled.
Privileged settings remain permission-gated; no configuration migration is required. Shared settings controls are touched, so broader CI and cross-browser/startup validation remain required.
Why This Change Was Made
This was skipped work presented as pending work, not a slow RPC. The existing read owners now distinguish skipped, disconnected, denied, failed, pending and accepted states. Personal preferences stay independent of those reads; accepted controls remain mounted, and initial unread values are masked in their native control boxes. Known session-source rows keep their actual inventory rather than reserving an invented row count.
Evidence
CI exceptions: Current CI has 17 browser failures with the same case, error and source location as scheduled main. The comparison uses the actual logs, not just matching job names. The new static JS overages are separate: largest shared asset 564,834/564,484 B, chat boot 1,301,550/1,301,131 B, and new-session boot 803,610/803,364 B. These size overages use the approved budget waiver; CSS passes.
The latest maintainer correction updates only the existing Talk navigation fixture to provide an accepted configuration snapshot, as required by the new read boundary. The pending native edit and navigation assertions remain intact. The test passes (313 ms; 4.78 s command), along with the UI-pages typecheck and scoped lint. The per-change allowance includes exactly three additional fixture lines; the official ratchet passes. Production code is unchanged, so the real-Gateway proof below remains applicable. Corrected-head CI has completed with the inherited browser failures and static-size exceptions recorded above.
Maintainer verification on published head
83ea794a350ee: the campaign's production-built Chromium and isolated real-Gateway run confirmed guest personal preference persistence, operator config save/reconnect, and live promotion/demotion. Gateway config stayed unchanged for guest actions, unrelated operator config stayed intact, and the personal preference survived role changes. The current full-candidate P0–P2 source review completed without actionable findings. This reuses the same-head runtime proof; it is not a new cross-browser or model-inference claim.Real isolated-state Gateway + Chromium proof: guest personal controls remain usable with no config.get, config.schema, plugins.list, system.info or models.list request dispatched for the restricted view.
Original Appearance checks (historical, retained): 57 unit/page tests and 28 Chromium tests passed, plus targeted production/component-test types, lint, stylelint, formatting and Solid guards. The new native-pending regression was red before the fix and green with it. Earlier unaffected owner evidence was reused, not claimed as a fresh run.
Held-config arrival was exercised at 400, 820 and 1280 px, dark and light. All six final cases awaited accepted, enabled controls; Sidebar, Session Sources and Lobster section rectangles were unchanged and observed transition layout shift was zero. This qualifies that transition, not universal zero-CLS behavior.
Original independent local autoreview: scoped-clean for P0–P2, with no findings, on the full 26-path local candidate against a7ba22b. Commit e8db5ad preserves the exact reviewed delta. The reviewer did not rerun project code or tests.
Follow-up repair d6c474a: both review findings were reproduced at the actual isolated Gateway/source-UI boundary (four Notifications and six retained-source assertion failures) and passed with the same fixture after the owner repairs. Guest config.get/config.schema/plugins.list/push.web.preferences.get dispatch count remained zero. The pre-hello checkpoint is DOM-only after explicit Gateway selection; connected and held/settled reconnect actions were visibly available.
A task-owned plugin reload held the actual schema reply after accepted values existed. The labeled explicit-false and absent-preference/default-true rows retained their values, accessibility, visible tracks and mounted inputs while disabled, then settled correctly on the same client/hello. Native permission/test messages used a simulated local WebKit bridge through the production JavaScript owner, not host OS notification effects or signed-macOS delivery proof.
Repair checks: 63 consumer tests plus one Web Push route sibling passed; the final two touched test files passed 16 tests, with two new regressions red on the published production code and green after repair. Production/page-test types, targeted lint, formatting, diff checks and the exact test-line ratchet passed. The isolated real scenario took 13.640s before / 13.703s after (56.53s / 56.90s total); CI timing is not yet established. Unchanged earlier proof was reused, not rerun or relabeled. The dedicated allocation records exactly 198 additional regression LF; the shared scalar was unchanged.
Fresh repair-only autoreview: scoped-clean for P0–P2, no findings, on the five-file local repair against published head 3d6022e. Commit d6c474a preserves that exact reviewed tree. This does not repeat or expand the historical whole-PR review; the reviewer did not rerun tests or inspect screenshots. Lower-priority findings were outside the review threshold.
Remaining gates: broad PR CI/shared-owner coverage, WebKit/Firefox and production-bundle/startup-budget checks have not been established by this local proof. Product model inference was not exercised. The original Appearance pair was delivered in the originating chat and its four original inline images were verified on the earlier draft. The four new repair frames have also been delivered in the originating chat. All eight exact public assets were verified in the actual draft PR: fetched bytes and decoded dimensions matched, each target and caption was fully visible, the mobile repair pair shared one compact row, and the owning worker pixel-inspected all eight saved actual-PR frames. The final renderer completed with exit 0 and no route or cleanup errors.
Original Appearance evidence — previously verified
Guest desktop, 1280 × 1000, dark:
Before
After
The desktop After image reuses the earlier settled guest state, unaffected by the subsequent operator-only pending-geometry refinement; it is not a fresh production-bundle capture.
Operator mobile, 400 × 1000, dark — the same fixed candidate, not base versus fixed:
Config delivery held
Config accepted
Synthetic fixture data. This pair demonstrates the qualified held-to-accepted transition, not universal zero layout shift. Upload record. The original chat pair is delivered; all four inline images passed actual-PR rendering verification and owning-worker pixel inspection.
Follow-up repair evidence
Guest desktop, 1280 × 1000, light. Before is published head 3d6022e; After is the exact tree committed in d6c474a. The native bridge is simulated, not macOS permission/delivery proof.
Notifications — Before
Notifications — After
Mobile supplement: accepted Sources during schema revalidation
Operator, 400 × 1000, light. This is before versus repaired behavior during the same held-schema-refresh condition, not the earlier initial config-arrival comparison. Accepted OpenCode default-true and Pi explicit-false values stay readable after repair; editing remains disabled until the actual schema reply is released.
Synthetic fixtures only. Repair upload record. Source UI plus isolated Gateway evidence; not a packaged build, cross-browser or universal zero-layout-shift claim.
Retained failed attempts and proof limits
Early Gateway fixture/poll runs did not complete. An intermediate matrix also expected an unavailable utility status while the fixture actually reported configured status; the final harness waits for the observed state instead. These attempts are retained and are not passing evidence. Settled-only samples were not used as transition proof.
Follow-up setup attempts first failed on a fixture syntax error and then an incorrect shell-presentation expectation; neither counted as product-red evidence. Corrected owning-boundary execution then produced the named Notifications/Sources failures before repair and passed afterward. Intermediate new-test typing and lint failures were corrected without bypasses or weakening assertions; those raw attempts are retained.
An earlier actual-PR render verified its targets but exited 1 on a 20-second route-drain cleanup timeout; that failed terminal remains retained. The later cancellation-aware renderer completed cleanly in 31.241 seconds, but no routes remained at teardown and the cancellation branch was not exercised. This is successful rendering and cleanup evidence, not proof that cancellation causally cured the earlier timeout.
An earlier partitioned independent review was incomplete and was not treated as clean. The final self-contained review completed on the same candidate. No broad CI, other-browser, production-build or inference result is inferred from its source-only assessment.
Worked on by:
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by