Skip to content

Comments

gemini wants to make these changes#45

Open
Mihonarium wants to merge 3 commits intomasterfrom
fix/audio-recording-bugs
Open

gemini wants to make these changes#45
Mihonarium wants to merge 3 commits intomasterfrom
fix/audio-recording-bugs

Conversation

@Mihonarium
Copy link

No description provided.

google-labs-jules bot and others added 3 commits July 11, 2025 19:56
This commit resolves several issues related to audio recording in the Firefox extension, where the UI (microphone animation, audio bands) would become desynchronized with the actual recording state.

Key changes include:
- Standardized UI state reset logic in `PopupView` for consistent visual transitions between idle, recording, result, and error states.
- Ensured `_is_recognizing` and `_is_starting` state flags in `popup.js` are correctly updated, particularly in error paths.
- Improved error handling in `content.js` for Firefox recording, including handling `MediaRecorder.onerror` events.
- Implemented a timeout mechanism in `popup.js` as a fallback to handle silent failures during Firefox recording (e.g., if the content script becomes unresponsive or the tab is closed).
- Added extensive console logging throughout `popup.js` and `content.js` to aid in future debugging and understanding of the execution flow.
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.

1 participant