Skip to content

Conversation

benibenj
Copy link
Contributor

Copilot Generated Description: Implement a double-click event in the empty area of the chat sessions view to create a new chat editor.

fixes #264515

@benibenj benibenj enabled auto-merge September 16, 2025 01:27
@benibenj benibenj self-assigned this Sep 16, 2025
Copy link
Contributor

@Copilot 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 implements a double-click event in the empty area of the chat sessions view to create a new chat editor, addressing the need for a more intuitive way to start new chat sessions.

  • Adds double-click event handling in the sessions view pane to trigger new chat editor creation
  • Introduces CSS styling to ensure proper tree container height for the feature to work effectively
  • Updates action references to use a consistent constant for the chat editor command ID

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/media/chatSessions.css Adds CSS to ensure tree container takes full height
src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.ts Implements double-click event handler and adds constructor parameter for command ID
src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.ts Updates view pane creation to pass appropriate command IDs and imports constant
src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.ts Updates menu item to use constant instead of hardcoded string
src/vs/workbench/contrib/chat/browser/actions/chatActions.ts Exports new constant for chat editor action ID

@vs-code-engineering vs-code-engineering bot added this to the September 2025 milestone Sep 16, 2025
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.

Double click in empty Chat Sessions list should add new session
1 participant