Skip to content

Sessions - expose session resource to actions#304497

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/frozen-crocodile
Mar 24, 2026
Merged

Sessions - expose session resource to actions#304497
lszomoru merged 1 commit intomainfrom
lszomoru/frozen-crocodile

Conversation

@lszomoru
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings March 24, 2026 15:54
@lszomoru lszomoru enabled auto-merge (squash) March 24, 2026 15:54
@lszomoru lszomoru self-assigned this Mar 24, 2026
@vs-code-engineering vs-code-engineering bot added this to the 1.114.0 milestone Mar 24, 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 updates the Sessions “Changes” view so that view title-toolbar actions can receive the active session’s resource as their execution context, enabling session-aware actions (including contributed menu items) in the Agent Sessions window.

Changes:

  • Override ChangesViewPane.getActionsContext() to return the active session URI.

@lszomoru lszomoru merged commit 6973c35 into main Mar 24, 2026
24 checks passed
@lszomoru lszomoru deleted the lszomoru/frozen-crocodile branch March 24, 2026 17:36
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