Skip to content

fix(session): header backdrop-blur off while the context-tree band is open - #97

Merged
kateebonner merged 1 commit into
local/amicodefrom
kate/session-header-blur-bleed
Jul 28, 2026
Merged

fix(session): header backdrop-blur off while the context-tree band is open#97
kateebonner merged 1 commit into
local/amicodefrom
kate/session-header-blur-bleed

Conversation

@kateebonner

Copy link
Copy Markdown
Contributor

What

Kate reported a soft grey vertical smear ("bleed") along the transcript's left edge in sessions showing the context-tree/constellation band, light theme.

Root cause (reproduced + pixel-diffed in a browser harness)

The sticky session header ([data-session-title], message-timeline.tsx) carries backdrop-blur-[10px] over its whole padding box, with a background gradient opaque only for the first 48px. Slim headers hide the blur under the opaque title strip — but when the context-tree band renders, the header grows to ~300px and the band sits inside the md:pl-4 padding. That leaves a 16px transparent gutter ~225px tall where the blur is fully exposed: transcript content scrolling beneath (straight card edges, dark text) gets sampled and smeared into a grey streak. The right gutter has the same defect but ragged line-ends make it invisible. A/B screenshots with only backdrop-filter toggled produce a pixel-diff strip exactly in the gutter with Gaussian falloff — confirmed causation.

Fix

One-line gate, mirroring the existing pb-4/pb-2 conditionals two lines below: "backdrop-blur-[10px]": !contextTreeVisible(). With the tree open the band is opaque below the title strip anyway, so the blur contributed nothing there; slim headers keep the frosted fade. (If the frosted look must survive with the tree open, the thorough alternative is a masked inset-0 underlay whose blur fades with the gradient — deliberately not taken here.)

Note: #66 (message-timeline audit stack) touches this file — trivial to rebase whichever lands second.

Verification

  • npm run lint: 0 errors; tsgo -b packages/app: clean
  • Visual re-verification in the harness after re-vendor (screenshots in session notes)

🤖 Generated with Claude Code

… open

With the context-tree block open the sticky header grows to ~300px and the
band sits inside the pl-4 gutter — backdrop-blur(10px) samples transcript
content through that transparent 16px strip and smears it into a grey
streak along the straight left edge (worst in light theme). The band is
opaque below the 48px title strip, so the blur contributed nothing there.
Slim headers keep the frosted fade.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kateebonner
kateebonner merged commit 94df1cd into local/amicode Jul 28, 2026
1 of 4 checks passed
@kateebonner
kateebonner deleted the kate/session-header-blur-bleed branch July 28, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant