Skip to content

Support embedding NewChatInputWidget in alternate surfaces - #329113

Draft
benvillalobos wants to merge 2 commits into
mainfrom
bv/new-chat-input-embedding
Draft

Support embedding NewChatInputWidget in alternate surfaces#329113
benvillalobos wants to merge 2 commits into
mainfrom
bv/new-chat-input-embedding

Conversation

@benvillalobos

Copy link
Copy Markdown
Member

Adds reusable configuration points needed to embed NewChatInputWidget in alternate composer surfaces while preserving the default new-session behavior.

Summary

  • Allow callers to configure the session-type picker through sessionTypePickerOptions.
  • Allow provider-contributed session controls to be moved into a caller-owned container through renderSessionControls().
  • Allow callers to omit the send button through renderSendButton.

Testing

  • npm run precommit

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 5, 2026 05:03
@benvillalobos
benvillalobos requested a review from sandy081 August 5, 2026 05:04

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

Adds configuration hooks for embedding NewChatInputWidget in alternate composer surfaces.

Changes:

  • Configures the session-type picker.
  • Supports relocating session controls.
  • Allows hiding the built-in send button.
Show a summary per file
File Description
src/vs/sessions/contrib/chat/browser/newChatInput.ts Adds reusable picker, controls, and send-button options.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread src/vs/sessions/contrib/chat/browser/newChatInput.ts Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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