Skip to content

Agents - only show the Changes view when there are changes#309152

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/statutory-quokka
Apr 11, 2026
Merged

Agents - only show the Changes view when there are changes#309152
lszomoru merged 1 commit intomainfrom
lszomoru/statutory-quokka

Conversation

@lszomoru
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 11, 2026 07:53
@lszomoru lszomoru enabled auto-merge (squash) April 11, 2026 07:53
@lszomoru lszomoru self-assigned this Apr 11, 2026
Copy link
Copy Markdown
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 updates the Sessions window layout synchronization so the Changes view is only shown when the active session actually has changes, reducing empty/irrelevant UI in the auxiliary bar.

Changes:

  • Track activeSessionHasChanges and feed it into auxiliary-bar visibility syncing.
  • Gate opening the Changes view on hasChanges (instead of always opening it for non-untitled workspace sessions).
Show a summary per file
File Description
src/vs/sessions/contrib/layout/browser/layoutController.ts Updates auxiliary-bar sync logic to only open the Changes view when the active session has changes.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread src/vs/sessions/contrib/layout/browser/layoutController.ts
@lszomoru lszomoru merged commit eb4777b into main Apr 11, 2026
30 checks passed
@lszomoru lszomoru deleted the lszomoru/statutory-quokka branch April 11, 2026 10:00
@vs-code-engineering vs-code-engineering bot added this to the 1.116.0 milestone Apr 11, 2026
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.

3 participants