Skip to content

Remove CopilotSessionContextMenuBridge and related logic#318320

Merged
benibenj merged 1 commit into
mainfrom
benibenj/agents/remove-copilot-session-menu-bridge
May 26, 2026
Merged

Remove CopilotSessionContextMenuBridge and related logic#318320
benibenj merged 1 commit into
mainfrom
benibenj/agents/remove-copilot-session-menu-bridge

Conversation

@benibenj
Copy link
Copy Markdown
Contributor

@benibenj benibenj commented May 26, 2026

Copilot Generated Description: Remove the CopilotSessionContextMenuBridge class and its associated context menu bridging logic from the codebase. This simplifies the handling of context menu actions related to Copilot sessions.

fixes #318044

Copilot AI review requested due to automatic review settings May 26, 2026 09:22
@benibenj benibenj enabled auto-merge (squash) May 26, 2026 09:23
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 removes the CopilotSessionContextMenuBridge workbench contribution from the Sessions (Agents) window Copilot sessions provider, eliminating the logic that mirrored extension-contributed context menu actions from the workbench’s MenuId.AgentSessionsContext into the Sessions window’s SessionItemContextMenuId.

Changes:

  • Removed CopilotSessionContextMenuBridge and its command/menu bridging implementation.
  • Cleaned up now-unused imports related to menu/command bridging.
Show a summary per file
File Description
src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.ts Removes provider-specific bridging of MenuId.AgentSessionsContext items into the Sessions window session-item context menu.

Copilot's findings

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

@benibenj benibenj merged commit 127d83a into main May 26, 2026
26 checks passed
@benibenj benibenj deleted the benibenj/agents/remove-copilot-session-menu-bridge branch May 26, 2026 09:55
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone May 26, 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.

Agents: Update phrasing or functionality of Open Session in Terminal

3 participants