Skip to content

Sessions - more changes view cleanup#303303

Merged
lszomoru merged 3 commits intomainfrom
lszomoru/excellent-jackal
Mar 19, 2026
Merged

Sessions - more changes view cleanup#303303
lszomoru merged 3 commits intomainfrom
lszomoru/excellent-jackal

Conversation

@lszomoru
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings March 19, 2026 20:12
@lszomoru lszomoru enabled auto-merge (squash) March 19, 2026 20:12
@lszomoru lszomoru self-assigned this Mar 19, 2026
@lszomoru lszomoru added this to the 1.113.0 milestone Mar 19, 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 performs cleanup and lifecycle/disposal improvements for the Sessions “Changes” view, including renaming the related workbench contribution/controller and tightening up view ownership of disposables.

Changes:

  • Rename the changes view workbench contribution to ChangesViewController and update its contribution registration.
  • Ensure ChangesViewPane properly disposes its ChangesViewModel.
  • Refactor how the actions toolbar’s scoped instantiation service is created for the changes view.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/vs/sessions/contrib/changes/browser/changesViewController.ts Renames the workbench contribution/controller class and its contribution ID.
src/vs/sessions/contrib/changes/browser/changesView.ts Improves disposal of viewModel; refactors scoped instantiation service creation for the toolbar.
src/vs/sessions/contrib/changes/browser/changesView.contribution.ts Updates imports/registration to use ChangesViewController.

@lszomoru lszomoru merged commit 55a8db1 into main Mar 19, 2026
29 of 30 checks passed
@lszomoru lszomoru deleted the lszomoru/excellent-jackal branch March 19, 2026 20:53
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