Skip to content

Remove support for searchable option groups #306515

Open
mjbvz wants to merge 3 commits intomicrosoft:mainfrom
mjbvz:dev/mjbvz/smiling-porcupine
Open

Remove support for searchable option groups #306515
mjbvz wants to merge 3 commits intomicrosoft:mainfrom
mjbvz:dev/mjbvz/smiling-porcupine

Conversation

@mjbvz
Copy link
Copy Markdown
Collaborator

@mjbvz mjbvz commented Mar 30, 2026

This no longer appears to be use

cc @DonJayamanne

@mjbvz mjbvz self-assigned this Mar 30, 2026
Copilot AI review requested due to automatic review settings March 30, 2026 22:32
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

Removes the (apparently unused) “searchable option groups” capability from the Chat Sessions proposed API and the corresponding UI/IPC plumbing in the workbench and sessions window, simplifying option-group pickers to a single non-searchable implementation.

Changes:

  • Removes searchable / onSearch from ChatSessionProviderOptionGroup (proposed API) and from internal option group types.
  • Deletes the SearchableOptionPickerActionItem implementation and updates chat/session picker UI to always use ChatSessionPickerActionItem.
  • Removes the ext host ↔ main thread protocol method for option-group search and updates tests accordingly.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts Removes searchable option group API surface from the proposal.
src/vs/workbench/contrib/chat/common/chatSessionsService.ts Drops searchable/onSearch from internal option group type; tweaks setOptionGroupsForSessionType to accept readonly.
src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.ts Removes searchable picker wiring; always instantiates ChatSessionPickerActionItem.
src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.ts Deletes the searchable QuickPick-based picker implementation.
src/vs/workbench/api/test/browser/mainThreadChatSessions.test.ts Removes now-obsolete $invokeOptionGroupSearch test stub.
src/vs/workbench/api/common/extHostChatSessions.ts Stops propagating searchable and removes the search invocation endpoint.
src/vs/workbench/api/common/extHost.protocol.ts Removes $invokeOptionGroupSearch from the ext host shape.
src/vs/workbench/api/browser/mainThreadChatSessions.ts Stops bridging searchable groups into callbacks; passes option groups through directly.
src/vs/sessions/contrib/chat/browser/extensionToolbarPickers.ts Removes searchable picker usage in the sessions window toolbar pickers.

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.

3 participants