Skip to content

fix(bots): match the chat fades to the bot chat background - #1328

Merged
nixuuu merged 1 commit into
devfrom
style/refine-bot-message-shadows
Nov 27, 2026
Merged

nixuuu merged 1 commit into
devfrom
style/refine-bot-message-shadows

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 27, 2026

Copy link
Copy Markdown
Member

Changes

  • The feed's top fade (under the header) and bottom fade (above the composer) always used the thread surface colour. A bot chat sits on the canvas, so in the dark theme both showed as lighter bands (#20211c over #171914).
  • VirtualFeed now takes the fade colour from --feed-backdrop, falling back to the surface. Threads are unchanged.
  • ChatView paints bg-canvas itself and sets --feed-backdrop to the canvas, so the fades match the chat wherever it is mounted (the bot page, the /dev/bots gallery frame).

Fixes: #961

Verification

  • Ran the web app against an isolated gateway and PostgreSQL in Chromium. Checked the /dev/bots chat in light and dark mode with rows scrolled under both fades: the fades now blend into the chat background. Forcing the old colour reproduced the reported bands.
  • /dev/long-thread: the feed fade still resolves to the surface colour.
  • oxlint and oxfmt on the two edited files. Everything else is left to CI.
  • No UI text changed, so no copy audit.

🤖 Generated with Claude Code

The feed's top and bottom fades always used the thread surface colour,
while a bot chat sits on the canvas. In the dark theme they showed as
lighter bands under the header and above the composer. The feed now
takes the fade colour from --feed-backdrop (surface by default), and
the bot chat paints the canvas and sets it to the canvas.

Fixes: #961

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nixuuu
nixuuu enabled auto-merge (squash) November 27, 2026 08:55
@nixuuu
nixuuu merged commit 06812a3 into dev Nov 27, 2026
11 checks passed
@nixuuu
nixuuu deleted the style/refine-bot-message-shadows branch November 27, 2026 08:57
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