Skip to content

sessions: Show Changes view for new sessions - #332365

Merged
Sandeep Somavarapu (sandy081) merged 1 commit into
mainfrom
sandy081/agents/enable-changes-view-session
Aug 24, 2026
Merged

Sandeep Somavarapu (sandy081) merged 1 commit into
mainfrom
sandy081/agents/enable-changes-view-session

Conversation

@sandy081

Copy link
Copy Markdown
Member

Summary

  • enable the Changes view for workspace-backed new session drafts
  • keep the managed Changes and Files tabs available through single-pane draft restoration
  • preserve the Files-first detail-only new-session layout

Validation

  • npm run compile
  • npm run precommit
  • ./scripts/test.sh --run src/vs/sessions/contrib/changes/test/browser/changesViewActions.test.ts --run src/vs/sessions/contrib/layout/test/browser/desktopSessionLayoutController.test.ts (150 passing)

Make the Changes view and managed Changes tab available as soon as a workspace-backed session draft is created. Preserve the Files-first new-session layout and restore both managed tabs after workspace restoration.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings August 24, 2026 16:39
@sandy081 Sandeep Somavarapu (sandy081) added this to the 1.136.0 milestone Aug 24, 2026
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Benjamin Christopher Simmonds (@benibenj)

Matched files:

  • src/vs/sessions/contrib/layout/browser/singlePane/singlePaneDockedTabsCoordinator.ts
  • src/vs/sessions/contrib/layout/browser/singlePane/singlePaneNewSessionStrategy.ts
  • src/vs/sessions/contrib/layout/test/browser/desktopSessionLayoutController.test.ts

@sandy081 Sandeep Somavarapu (sandy081) added the ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch label Aug 24, 2026
@vs-code-engineering

Copy link
Copy Markdown
Contributor

This PR will be automatically cherry-picked to release/1.135 when merged.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Enables Changes for workspace-backed new-session drafts while preserving single-pane restoration and Files-first layout behavior.

Changes:

  • Makes Changes available before session creation.
  • Restores both managed tabs for drafts.
  • Updates related tests and documentation.
Show a summary per file
File Description
SINGLE_PANE_SCENARIOS.md Updates draft tab behavior.
desktopSessionLayoutController.test.ts Updates managed-tab expectations.
singlePaneNewSessionStrategy.ts Treats Changes as a managed draft input.
singlePaneDockedTabsCoordinator.ts Enables and restores Changes for drafts.
changesViewActions.test.ts Tests draft Changes availability.
changes.contribution.ts Removes the created-session visibility gate.

Review details

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 6/6 changed files
  • Comments generated: 2
  • Review effort level: Balanced

@sandy081
Sandeep Somavarapu (sandy081) merged commit 561bac0 into main Aug 24, 2026
28 checks passed
@sandy081
Sandeep Somavarapu (sandy081) deleted the sandy081/agents/enable-changes-view-session branch August 24, 2026 16:56
@vs-code-engineering vs-code-engineering Bot added release-cherry-pick Automated cherry-pick between release and main branches and removed ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch labels Aug 24, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-cherry-pick Automated cherry-pick between release and main branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants