Repository navigation
fix(ui): stop chat sidebar flashing while opening - #121464
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Land-ready verification complete for Root cause: #113712 introduced the flexible sidebar column with an opaque Proof:
Live-profile gap: the signed-in Chrome relay was offline, so direct behavioral evidence is from the deterministic mock browser rather than the hosted session. Latest ClawSweeper output is the pickup acknowledgement only; no rank-up moves or actionable findings have been published. Production LOC is net zero ( |
|
Merged via squash.
|
Keep transient sidebar columns transparent while preserving explicit panel and discussion surfaces.\n\nFixes openclaw#121462. Related to openclaw#113712 and openclaw#121435.
Closes #121462
Related: #113712
Related: #121435
AI-assisted: this fix and its regression coverage were developed with Codex assistance, independently reviewed, and validated in deterministic browser fixtures.
What Problem This Solves
Fixes an issue where opening a chat detail sidebar briefly painted an opaque panel-colored column before the actual sidebar content appeared.
Why This Change Was Made
The shared structural sidebar column is now transparent during its opening fade. Explicit content owners—sidebar panels, headers, and discussion frames—continue to paint their themed surfaces, following the same transparent-default/explicit-owner boundary established by #121435.
User Impact
Opening, closing, and reopening chat detail sidebars no longer produces an opaque white flash. Loaded sidebar content keeps its normal light or dark themed background.
Release-note context: Control UI chat sidebars no longer flash an opaque surface while opening.
Evidence
The screenshots use a sanitized diagnostic fixture for the 160 ms interval before the owned detail panel is ready. Measured structural background changed from
rgb(255, 255, 255)torgba(0, 0, 0, 0).Regression proof:
node scripts/run-vitest.mjs ui/src/pages/chat/chat-responsive.browser.test.ts -t 'keeps newly opened sidebar columns transparent while panel owners retain their surface'failed before the fix withrgb(12, 34, 56)and passed afterward with a transparent column and unchanged owned panel surface.Production bundle:
pnpm ui:build— passed, including precompressed-asset and Control UI performance checks.Targeted static proof: oxfmt, stylelint, oxlint, and
git diff --check— passed.Source-blind browser validation: initial and recreated columns remained transparent; sidebar panel and discussion frame surfaces retained supplied theme colors; close/reopen geometry, widths, disconnection, and one-current-column counts passed, including a varied 341px /
rgb(97, 83, 41)anti-cheat probe.Codex autoreview (
--mode uncommitted): clean, no accepted/actionable findings.LOC split: production
+1/-1(net zero); tests+29.Exact-head CI: run 31361985256 — green on
3ac0471936dad7e06227e022a728b9076dc25710, includingchecks-ui-e2eandopenclaw/ci-gate.Live-profile verification gap: the signed-in Chrome relay was offline during this pass, so the direct behavior proof is deterministic mock-browser evidence rather than a live hosted-session capture.