Skip to content

voice: add first-use configuration banner#327426

Open
meganrogge wants to merge 1 commit into
microsoft:mainfrom
meganrogge:agents/create-pr-for-vscode-issue-327203
Open

voice: add first-use configuration banner#327426
meganrogge wants to merge 1 commit into
microsoft:mainfrom
meganrogge:agents/create-pr-for-vscode-issue-327203

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

Summary

  • show a persistent first-use Voice Mode banner with configure, preview, disable, and dismiss actions
  • centralize Voice Mode disabling so banner and microphone context menus disconnect before updating the setting
  • package the selected-voice preview audio in desktop, server-web, and web builds
  • provide localized labels and an explicit accessible banner label

Validation

  • npm run typecheck-client
  • npm run precommit
  • npm run valid-layers-check
  • git diff --check

Fixes #327203

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 25, 2026 00: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 first-use Voice Mode onboarding, centralized disabling, and packaged voice-preview audio.

Changes:

  • Adds an accessible configuration banner with preview, disable, and dismiss actions.
  • Centralizes Voice Mode disabling through a shared command.
  • Packages preview audio across desktop, server-web, and web builds.
Show a summary per file
File Description
voiceInputModeActionViewItem.ts Uses centralized context-menu actions.
voiceModeActionViewItem.ts Removes direct configuration dependency.
micButtonMenuActions.ts Routes disabling through the shared command.
agentsVoice.ts Defines shared command identifiers.
agentsVoiceWindowService.ts Updates floating-window context-menu integration.
agentsVoice.contribution.ts Implements banner, preview, and disable commands.
build/next/index.ts Packages audio in esbuild targets.
build/gulpfile.vscode.web.ts Packages audio in web builds.
build/gulpfile.vscode.ts Packages audio in desktop builds.

Review details

  • Files reviewed: 9/9 changed files
  • Comments generated: 2
  • Review effort level: Medium

type VoicePreview = keyof typeof voicePreviewFiles;

function isVoicePreview(voice: string): voice is VoicePreview {
return voice in voicePreviewFiles;
Comment on lines +148 to +151
const shouldShow = this.configurationService.getValue<boolean>('agents.voice.enabled') === true
&& !this.storageService.getBoolean(AgentsVoiceStorageKeys.OnboardingCompleted, StorageScope.PROFILE, false)
&& !sentiment.hidden
&& !sentiment.disabled;
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.

Add banner to indicate settings to configure for first use of voice mode

3 participants