Repository navigation
fix(bots): match the chat fades to the bot chat background - #1328
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
#20211cover#171914).VirtualFeednow takes the fade colour from--feed-backdrop, falling back to the surface. Threads are unchanged.ChatViewpaintsbg-canvasitself and sets--feed-backdropto the canvas, so the fades match the chat wherever it is mounted (the bot page, the/dev/botsgallery frame).Fixes: #961
Verification
/dev/botschat 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.🤖 Generated with Claude Code