Skip to content

Adding Delete Button for Agent Sessions in the Chat Browser Overview#320705

Closed
woot903 wants to merge 2 commits into
microsoft:mainfrom
woot903:fix-320522-add-session-delete
Closed

Adding Delete Button for Agent Sessions in the Chat Browser Overview#320705
woot903 wants to merge 2 commits into
microsoft:mainfrom
woot903:fix-320522-add-session-delete

Conversation

@woot903

@woot903 woot903 commented Jun 10, 2026

Copy link
Copy Markdown

Adding Delete Button for Agent Sessions in the Chat Browser Overview

  • Appended a delete button for the AgentSessionItemToolbar menu

Issue

Addresses #320522

Implementation

image

Copilot AI review requested due to automatic review settings June 10, 2026 00:26

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

Note

Copilot was unable to run its full agentic suite in this review.

Adds a “Delete” toolbar action for agent session items, gated to local sessions.

Changes:

  • Appends a new MenuId.AgentSessionItemToolbar menu item for AGENT_SESSION_DELETE_ACTION_ID
  • Displays the action in the navigation group with a trash icon
  • Restricts visibility to AgentSessionProviders.Local via context key expression

Comment thread src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.ts Outdated
@woot903 woot903 marked this pull request as draft June 10, 2026 00:30
@woot903 woot903 marked this pull request as ready for review June 10, 2026 00:36
@connor4312 connor4312 assigned sandy081 and unassigned roblourens and connor4312 Jun 10, 2026
@dmitrivMS

Copy link
Copy Markdown
Contributor

Unfortunately it's not that simple... see #320889

@dmitrivMS dmitrivMS closed this Jun 11, 2026
@woot903 woot903 deleted the fix-320522-add-session-delete branch June 11, 2026 20:35
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.

6 participants