Repository navigation
Description
Refs: #332435
- macOS Michael Lively (@Yoyokrazy)
- windows Henning Dieterichs (@hediet)
- linux Raymond Zhao (@rzhao271)
Complexity: 3
Context
Agents window chat can now sit on a decorative background instead of a flat panel color. You pick either the built-in Codicons pattern or an image of your own, with one choice for dark themes and another for light themes, and the transcript adjusts so text stays readable on top of it.
TL;DR
Turn on a chat background, live with it for a while, and tell me whether it stays out of the way. Is anything harder to read? Does the picker do what you expect? Does it land as tasteful or as gaudy?
Trust your gut here. If you'd rather just poke at it, skip the rest of this.
Prereqs
Open the Agents window with Chat: Open Agents Window (Cmd/Ctrl+Shift+A). Everything below lives there, and regular editor chat should be untouched, so it's worth one glance to confirm that.
Have an image on disk ready for the second half. Any png, jpg, gif, svg, or webp works.
Start with Codicons
Run Chat: Set Background... and pick Codicons. You should get a faint scatter of icons behind the chat.
- Resize the window a lot. The pattern regenerates at the new size, so watch for reflow that stutters or icons bunching at the edges.
- Send a message. The background should hold steady through the jump from the composer to the transcript.
- Right-click empty chat space on the new session view. The background commands live there too, alongside the aquarium toggle. Turn the fish on and check they swim above the background and below the chat.
Bring your own image
Run Chat: Set Background... again, pick Image..., then use Chat: Change Background Layout... to place it. Eleven layouts: Repeat, Stretch, Center, plus every edge and corner. Arrowing through the list previews each one live, Enter saves, Escape restores what you had.
- Try a small tiling texture and then a large photo. Do the layout names match what you actually get?
- Is the live preview helpful, or is the flicker more annoying than useful?
- Open
Chat: Set Background...once more. Images you've used appear under recently used, up to five, stored on this machine only.
Dark and light get separate backgrounds
There are two settings, one for dark themes and one for light themes. Every dark theme shares the first, every light theme shares the second.
- Set something while in Dark Modern, then switch to Solarized Dark. The background should carry over, since both are dark.
- Now switch to Light Modern. The chat goes back to plain, because the light setting is still empty. Is that split what you'd expect, or would you rather one image applied everywhere?
- Switch to a high contrast theme. Backgrounds are suppressed there deliberately, and all three commands vanish from the Command Palette and the context menu.
Chat: Clear Backgroundonly clears the side you're currently on, dark or light.
Reading over a background
This is where I most want opinions. Your request bubble stays fully opaque. The assistant's response gets a mostly opaque fill that fades to nothing through the padding on either side, while wide content like terminal output and markdown tables stays fully backed.
- Read a long response with code blocks, a table, and terminal output. Anything you have to squint at?
- Point a busy high-contrast photo at it. That's the worst case. Where does it fall apart first?
- Watch the composer, the pills above it, and the sticky headers while you scroll. Do they read as part of the chat, or as widgets floating on wallpaper?
Notes
- Settings are
chat.agentSessions.preferredDarkBackgroundImage,chat.agentSessions.preferredLightBackgroundImage, andchat.agentSessions.backgroundImageLayout. The two image settings are machine-scoped and don't sync. The layout does. - This shipped across Add customizable Agents chat backgrounds #332435, sessions: refine custom chat background surfaces #332462, sessions: add chat background management actions #332569, sessions: add dynamic codicon chat backgrounds #332660, sessions: soften chat background treatments #332762, Fix "Set Background" action to store a file path instead of a file URI #332875, and sessions: layer aquarium over chat background #333061.
- I have no known issues to exclude, so file whatever you hit.
Activity