Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 25, 2025

Three menu actions in ChatSessionsMenu were appearing for all session types but should only show for local chat sessions:

  • DeleteChatSessionAction - Added sessionType.isEqualTo(localChatSessionType) to existing when clause
  • OpenChatSessionInNewWindowAction - Added when clause filtering to local sessions
  • OpenChatSessionInNewEditorGroupAction - Added when clause filtering to local sessions

This makes these actions consistent with RenameChatSessionAction and OpenChatSessionInSidebarAction which already had the local session filter.

Original prompt

Implement this actions in chatSessionActions.ts only for local chat sessions

Created from VS Code.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement actions in chatSessionActions.ts for local chat sessions Restrict chat session actions to local chat sessions only Nov 25, 2025
Copilot AI requested a review from osortega November 25, 2025 01:50
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.

2 participants