Allow hiding the dictation mic button while keeping Cmd/Ctrl+I - #328832
Draft
meganrogge with Copilot wants to merge 2 commits into
Draft
Allow hiding the dictation mic button while keeping Cmd/Ctrl+I#328832meganrogge with Copilot wants to merge 2 commits into
meganrogge with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Follow existing action bar patterns to hide buttons while maintaining functionality
Allow hiding the dictation mic button while keeping Cmd/Ctrl+I
Aug 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The dictation mic button context menu only offered Disable, which flips
dictation.enabledand takes theCmd/Ctrl+Ishortcut down with it — there was no way to hide just the button. This adds an action-bar–style visibility toggle so the button can be hidden while the shortcut keeps working.dictation.showButton(defaulttrue), added asDictationSettingId.ShowButton.ChatSpeechToTextButtonShown(config.dictation.showButton) is added to thewhenof the threeMenuId.ChatExecutemic items (toggle / preparing / connecting). TheToggleChatSpeechToTextActionkeybinding is left gated only onChatSpeechToTextConfigured, soCmd/Ctrl+Istill launches dictation when the button is hidden.getDictationContextMenuActionsnow includes a checkable "Microphone Button" entry (checked when shown) that flips the setting; restorable via the existing Open Settings entry.<div>(newChatInput.ts) honors the same setting in its visibility computation and config listener; itsCmd/Ctrl+Icommand is likewise independent.Scoped to dictation, matching the reported flow. Voice Mode (Cmd+Shift+Space) uses a separate menu and is untouched.