Skip to content

Conversation

@lszomoru
Copy link
Member

@lszomoru lszomoru commented Jan 7, 2026

Before the holiday we were talking about the fact that most of the time one opens an agent session to look at the changes in the working set. Since the working set is collapsed by default, I added a method to expand the working set only when we open a session. Please let me know if there is a better way to do this.

//cc @bpasero

Copilot AI review requested due to automatic review settings January 7, 2026 11:44
@lszomoru lszomoru self-assigned this Jan 7, 2026
@lszomoru lszomoru requested a review from justschen January 7, 2026 11:44
@lszomoru lszomoru enabled auto-merge (squash) January 7, 2026 11:44
@vs-code-engineering vs-code-engineering bot added this to the December 2025 milestone Jan 7, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds functionality to automatically expand the working set when opening a chat session in the Chat View Pane. When a user loads a chat session, the working set (which contains file attachments and editing context) will now be shown in an expanded state by default, improving visibility of the session's context.

Key Changes

  • Added setWorkingSetCollapsed() method to ChatInputPart to programmatically control the working set's collapsed state
  • Modified loadSession() in ChatViewPane to expand the working set after successfully loading a session

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.ts Added public method setWorkingSetCollapsed() to allow external control of the working set's collapsed state
src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.ts Modified loadSession() to expand the working set by calling setWorkingSetCollapsed(false) after successfully loading a chat model

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.

2 participants