Skip to content

Conversation

@JJSwigut
Copy link
Contributor

@JJSwigut JJSwigut commented Aug 5, 2025

Fix voice dictation provider selection bug

What

  • Removed the disabled attribute from OpenAI Whisper option in the voice dictation provider dropdown
  • Added dropdown refresh logic to update OpenAI configuration status when dropdown is opened
  • Users can now switch back to OpenAI Whisper after selecting ElevenLabs
  • Maintained visual indicator showing "(not configured)" when OpenAI is not set up

Why

This fixes a critical UX bug where users would get permanently stuck after exploring ElevenLabs. The issue occurred because:

  1. User starts with OpenAI Whisper (working or not)
  2. User clicks ElevenLabs to explore it
  3. BUG: OpenAI Whisper becomes disabled and unclickable
  4. User cannot return to OpenAI, even to configure it

The root cause was the disabled={!hasOpenAIKey} attribute that prevented any interaction with the OpenAI option once it was deemed "not configured".

Key File Changes

  • ui/desktop/src/components/settings/dictation/DictationSection.tsx:
    • Removed disabled attribute from OpenAI Whisper button
    • Added handleDropdownToggle function to refresh provider status
    • Updated dropdown button to use new handler
    • Maintained configuration status display logic

Impact

  • Block Internal users: Can now select OpenAI Whisper without API key configuration
  • External users: Can select OpenAI Whisper to configure it or use existing setup
  • All users: No longer get stuck in ElevenLabs after exploring it

Fixes #3226 and #3280

Screen.Recording.2025-08-05.at.11.59.05.AM.mov

@JJSwigut JJSwigut force-pushed the swiggy/dictation-settings-issue-clean branch from d31f258 to 6c31749 Compare August 5, 2025 16:23
Copy link
Collaborator

@DOsinga DOsinga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for doing this! marked some LLM things to remove, otherwise good to go

@DOsinga DOsinga merged commit 580b451 into block:main Aug 6, 2025
10 checks passed
katzdave added a commit that referenced this pull request Aug 6, 2025
* 'main' of github.com:block/goose:
  Make the window title reflect what we are doing (#3883)
  additional metrics + Ui implementation (#3871)
  feat: Add session description editing functionality (#3819)
  Update filename in contributing docs (#3866)
  Fix voice dictation provider selection bug (#3862)
  doc: Update supported container runtimes (#3874)
  feat: add OAuth provider abstraction for CLI configuration (#3157)
  Don't ignore lockfiles on linux/windows builds (#3859)
  Use RMCP for StreamableHTTP OAuth support (#3845)
  Try to keep key order for Databricks (#3876)
  Fix OpenAI Provider with GitHub Models (#3875)
  Cmd click open finder (#3807)
  fix: recipe parameter form max height and not scrolling (#3879)
  fix: optimise reading large file content (#3767)
  fix: replace glob/grep tool with shell (#3834)
  docs: Add Youtube Link to dev.to tutorial (#3869)
@JJSwigut JJSwigut deleted the swiggy/dictation-settings-issue-clean branch August 6, 2025 17:59
katzdave added a commit that referenced this pull request Aug 6, 2025
* 'main' of github.com:block/goose:
  Make the window title reflect what we are doing (#3883)
  additional metrics + Ui implementation (#3871)
  feat: Add session description editing functionality (#3819)
  Update filename in contributing docs (#3866)
  Fix voice dictation provider selection bug (#3862)
  doc: Update supported container runtimes (#3874)
  feat: add OAuth provider abstraction for CLI configuration (#3157)
  Don't ignore lockfiles on linux/windows builds (#3859)
  Use RMCP for StreamableHTTP OAuth support (#3845)
  Try to keep key order for Databricks (#3876)
  Fix OpenAI Provider with GitHub Models (#3875)
  Cmd click open finder (#3807)
  fix: recipe parameter form max height and not scrolling (#3879)
  fix: optimise reading large file content (#3767)
  fix: replace glob/grep tool with shell (#3834)
  docs: Add Youtube Link to dev.to tutorial (#3869)
michaelneale added a commit that referenced this pull request Aug 7, 2025
* main:
  Upgrade to MCP-UI ~5.6.2 and handle internalized auto iframe resizing (#3889)
  docs: recipe updates (#3844)
  added notes about reducing context window by referencing external files (#3895)
  Make the window title reflect what we are doing (#3883)
  additional metrics + Ui implementation (#3871)
  feat: Add session description editing functionality (#3819)
  Update filename in contributing docs (#3866)
  Fix voice dictation provider selection bug (#3862)
  doc: Update supported container runtimes (#3874)
  feat: add OAuth provider abstraction for CLI configuration (#3157)
  Don't ignore lockfiles on linux/windows builds (#3859)
  Use RMCP for StreamableHTTP OAuth support (#3845)
  Try to keep key order for Databricks (#3876)
  Fix OpenAI Provider with GitHub Models (#3875)
  Cmd click open finder (#3807)
  fix: recipe parameter form max height and not scrolling (#3879)
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.

Cannot select OpenAI Whisper Voice Dictation after switching to ElevenLabs

2 participants