Fix #64: Record Button still not working #65

Merged
SaschaFuksa merged 1 commit from batch/64 into master 2026-04-22 15:42:37 +00:00
Owner
No description provided.
Fix #64: Record Button still not working
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
daad4eaf06
Root cause: startRecording() silently caught exceptions without
surfacing errors to the user, making the button appear broken
when the backend call failed or threw. Since the #error element
was removed in the UI redesign, the error was completely invisible.

Changes:
- Add explicit error message to status element (' ' + err.message)
  so the user can see why recording didn't start
- Add HTTP status to the generic 'Failed to start session' message
- Show error in debugInfoEl (visible in current-session-panel) when available
- Clean up UI state (remove 'recording' class) on error
- Add recordBtnClick() wrapper for onclick attribute as belt-and-suspenders
  in addition to the addEventListener
- Extract onclick to HTML for maximum compatibility
Tasch self-assigned this 2026-04-22 15:09:29 +00:00
SaschaFuksa deleted branch batch/64 2026-04-22 15:42:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Tasch/whisper-transcribe!65
No description provided.