Repository navigation
sessions: add chat background management actions - #332569
Merged
Merged
Conversation
Expose layout selection and current-theme image clearing from the Agents chat context menu and Command Palette. Keep action visibility reactive to the configured theme image and derive layout IDs from the style map so Settings and picker metadata cannot drift. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds background management actions to Agents chats with reactive visibility and accessibility guidance.
Changes:
- Adds layout selection and theme-specific image clearing commands.
- Derives layout options and Settings metadata from shared definitions.
- Tracks configured-image state across setting and theme changes.
Show a summary per file
| File | Description |
|---|---|
src/vs/sessions/common/contextkeys.ts |
Adds configured-image context state. |
src/vs/sessions/contrib/chat/browser/chat.contribution.ts |
Registers actions, menus, picker, and metadata. |
src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts |
Documents background workflows. |
src/vs/sessions/services/chatBackground/browser/chatBackgroundService.ts |
Implements clearing, layout updates, and reactive state. |
src/vs/sessions/services/chatBackground/test/browser/chatBackgroundService.test.ts |
Tests new service behavior and context state. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 5/5 changed files
- Comments generated: 0
- Review effort level: Balanced
TylerLeonhardt
marked this pull request as ready for review
August 25, 2026 15:43
TylerLeonhardt
enabled auto-merge (squash)
August 25, 2026 15:43
Anthony Kim (anthonykim1)
approved these changes
Aug 25, 2026
Dmitriy Vasyura (dmitrivMS)
approved these changes
Aug 25, 2026
3 tasks done
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Testing
npm run compile.\scripts\test.bat --run src\vs\sessions\services\chatBackground\test\browser\chatBackgroundService.test.ts --run src\vs\sessions\contrib\chat\test\browser\chatView.test.ts(20 passing)npm run typecheck-clientNotes
The full
npm run hygienewrapper currently hits the existing WindowsC:\C:\...path-resolution issue before checking source. Running the same hygiene engine directly against every changed file passes.