Skip to content

fix - update precondition for OpenSessionWorktreeInVSCode#299140

Merged
bpasero merged 1 commit intomainfrom
ben/copilot-worktree-2026-03-04T07-49-40
Mar 4, 2026
Merged

fix - update precondition for OpenSessionWorktreeInVSCode#299140
bpasero merged 1 commit intomainfrom
ben/copilot-worktree-2026-03-04T07-49-40

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Mar 4, 2026

No description provided.

@bpasero bpasero self-assigned this Mar 4, 2026
Copilot AI review requested due to automatic review settings March 4, 2026 08:00
@bpasero bpasero added this to the 1.111.0 milestone Mar 4, 2026
@bpasero bpasero enabled auto-merge (squash) March 4, 2026 08:01
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

Adjusts command gating for the Agent Sessions titlebar action that opens a session’s worktree in a separate VS Code window, aligning “command enablement” vs “menu visibility” behavior in the sessions window UI.

Changes:

  • Simplifies the OpenSessionWorktreeInVSCodeAction command precondition to only require IsActiveSessionBackgroundProviderContext.
  • Moves the UI-specific visibility constraints (not auxiliary window, not welcome visible) into the menu item’s when clause.

@bpasero bpasero merged commit b5a312a into main Mar 4, 2026
23 checks passed
@bpasero bpasero deleted the ben/copilot-worktree-2026-03-04T07-49-40 branch March 4, 2026 08:22
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