Skip to content

sessions: soften chat background treatments - #332762

Merged
TylerLeonhardt merged 2 commits into
mainfrom
tyler/agents-chat-codicon-watermark
Aug 26, 2026
Merged

TylerLeonhardt merged 2 commits into
mainfrom
tyler/agents-chat-codicon-watermark

Conversation

@TylerLeonhardt

@TylerLeonhardt TylerLeonhardt commented Aug 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • reduce the dynamic Codicon chat background tint from 14% to 10% so it reads as a watermark
  • remove the assistant response border and shadow over configured chat backgrounds
  • replace the nearly opaque response fill with an 88% theme-aware surface that fades to transparent through the existing 32px side gutters
  • keep wide terminal output and Markdown tables fully backed; the fade begins immediately outside their content edge
  • preserve the existing no-backdrop-blur treatment and high-contrast background suppression

Design

The response container already reserves 32px of inline padding around its content. The gradient uses those same padding boundaries as its color stops, so the full content area remains consistently backed while only the unused gutters fade into the decorative background. This adds no DOM, layout measurement, observers, animation, or backdrop filtering.

Testing

  • npm run compile
  • node --experimental-strip-types build\hygiene.ts src\vs\sessions\contrib\chat\browser\media\chatView.css src\vs\sessions\contrib\chat\test\browser\chatView.test.ts
  • .\scripts\test.bat src\vs\sessions\contrib\chat\test\browser\chatView.test.ts src\vs\sessions\services\chatBackground\test\browser\chatBackgroundService.test.ts (28 passing)
  • manually verified Light 2026 and Dark 2026 in new-chat and active-chat surfaces
  • manually verified wide terminal output and wide Markdown tables at normal and reduced zoom levels

Copilot AI balanced review requested due to automatic review settings August 26, 2026 15:06
@TylerLeonhardt TylerLeonhardt changed the title sessions: soften codicon chat background sessions: soften chat background treatments Aug 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

TylerLeonhardt and others added 2 commits August 26, 2026 09:08
Reduce the built-in Codicon pattern tint so it reads as a watermark behind chat content.

Co-authored-by: Copilot <[email protected]>
Remove the response border and shadow, use a mildly translucent surface, and fade through the existing side gutters so wide terminal output and tables remain fully backed.

Co-authored-by: Copilot <[email protected]>
@TylerLeonhardt
TylerLeonhardt force-pushed the tyler/agents-chat-codicon-watermark branch from 202f582 to 265ff1a Compare August 26, 2026 16:08
@TylerLeonhardt
TylerLeonhardt enabled auto-merge (squash) August 26, 2026 16:10
@TylerLeonhardt
TylerLeonhardt merged commit c19945a into main Aug 26, 2026
37 checks passed
@TylerLeonhardt
TylerLeonhardt deleted the tyler/agents-chat-codicon-watermark branch August 26, 2026 16:53
@vs-code-engineering vs-code-engineering Bot added this to the 1.136.0 milestone Aug 26, 2026
@TylerLeonhardt TylerLeonhardt mentioned this pull request Aug 28, 2026
3 tasks done
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants