Skip to content

fix(ui): stop chat sidebar flashing while opening - #121464

Merged
steipete merged 1 commit into
mainfrom
steipete/chat-sidebar-transparent-open-7c2f4a
Aug 10, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/chat-sidebar-transparent-open-7c2f4a

Conversation

@steipete

@steipete steipete commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

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

Before After
Before: the structural sidebar column paints an opaque white surface After: the structural sidebar remains transparent while opening

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) to rgba(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 with rgb(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, including checks-ui-e2e and openclaw/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.

Keep transient sidebar columns transparent while preserving explicit panel and discussion surfaces.\n\nFixes #121462. Related to #113712 and #121435.
@clawsweeper

clawsweeper Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@steipete
steipete marked this pull request as ready for review August 10, 2026 06:26
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels Aug 10, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready verification complete for 3ac0471936dad7e06227e022a728b9076dc25710.

Root cause: #113712 introduced the flexible sidebar column with an opaque --panel background. Opening a detail sidebar recreates that structural column and fades it in for 160 ms, exposing the opaque surface before the owned panel is ready. The fix makes only the structural column transparent; explicit panel, header, and discussion-frame owners retain themed surfaces.

Proof:

  • Focused browser regression failed before the fix with rgb(12, 34, 56) and passed after with rgba(0, 0, 0, 0) while the owned panel remained rgb(12, 34, 56).
  • pnpm ui:build — passed, including precompressed-asset and Control UI performance checks.
  • Targeted oxfmt, stylelint, oxlint, and git diff --check — passed.
  • Source-blind browser validation — all contract clauses passed, including open/recreate transparency, themed panel/discussion surfaces, close/reopen geometry, stale-node disconnection, and a varied width/color anti-cheat probe.
  • Codex autoreview — clean, no accepted/actionable findings.
  • Exact-head CI run 31361985256 — green, including checks-ui-e2e and openclaw/ci-gate.

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 (+1/-1); tests are +29.

@steipete
steipete merged commit 98d1397 into main Aug 10, 2026
147 of 148 checks passed
@steipete
steipete deleted the steipete/chat-sidebar-transparent-open-7c2f4a branch August 10, 2026 06:42
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 11, 2026
Keep transient sidebar columns transparent while preserving explicit panel and discussion surfaces.\n\nFixes openclaw#121462. Related to openclaw#113712 and openclaw#121435.
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 maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: chat sidebar flashes an opaque surface while opening

1 participant