Skip to content

Conversation

@JJSwigut
Copy link
Contributor

@JJSwigut JJSwigut commented Aug 5, 2025

Fix voice dictation provider selection bug

What

  • Removed the 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 attribute that prevented any interaction with the OpenAI option once it was deemed "not configured".

Key File Changes

  • :
    • Removed attribute from OpenAI Whisper button
    • Added 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

- Remove disabled attribute from OpenAI Whisper option in dropdown
- Users can now switch back to OpenAI after selecting ElevenLabs
- Add dropdown refresh logic to update OpenAI configuration status
- Maintain visual indicator for configuration status

Fixes block#3226 and block#3280
@JJSwigut JJSwigut force-pushed the swiggy/dictation-settings-issue branch from fbe9e3f to c1dd6df Compare August 5, 2025 16:11
@JJSwigut JJSwigut closed this Aug 5, 2025
@JJSwigut
Copy link
Contributor Author

JJSwigut commented Aug 5, 2025

opened new one here #3862

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

1 participant