pediatric-ai-scribe-v3/public/js
ifedan-ed d96a008dfe v15: Fix TTS preview + Browser Whisper preload with extensive debugging
BREAKING FIXES:
- TTS Preview: Added event.preventDefault(), console logging, proper init check
- Browser Whisper: Complete console logging pipeline, error handling, progress tracking
- Voice Preferences: DOMContentLoaded fallback, explicit button click handlers
- Whisper Worker: Console logs at every step, better error messages

Debugging Features:
- Console logs show: button clicks, init events, progress updates, errors
- Progress tracking: [WhisperWorker] Progress: model.bin 47%
- Error messages: Specific failure reasons (not generic failures)
- Timeout warnings: 30s check for stuck downloads

Audio Backup Confirmed:
- Deletes immediately on successful transcription (line 621-624 app.js)
- NOT after 24 hours - 24h is server retention limit for failed transcriptions
- User was correct - this is working as designed

How to Debug:
1. Open DevTools → Console (F12)
2. Click button
3. Watch for [VoicePrefs] or [BrowserWhisper] logs
4. Check Network tab for actual downloads
5. Report what you see in console
2026-03-31 15:28:38 +00:00
..
admin.js Fix model management: empty LiteLLM list, always reload panel, clear-all 2026-03-29 19:32:09 -04:00
app.js v15: Fix TTS preview + Browser Whisper preload with extensive debugging 2026-03-31 15:28:38 +00:00
audioBackup.js Server-side audio backups with compression, viewable AI corrections 2026-03-29 10:56:31 +00:00
auth.js Security: remove auth debug logging that exposed emails and responses 2026-03-29 10:41:35 +00:00
browserWhisper.js Add browser-side Whisper transcription (local, zero network, HIPAA-safe) 2026-03-31 07:30:17 -04:00
chartReview.js v13: Increase JSON limit to 10MB, client-side size check for chart review 2026-03-30 22:41:17 +00:00
correctionTracker.js v9: Major feature update — audio backup, SOAP save, Dragon memory, S3 docs, CI/CD, APK 2026-03-28 21:08:32 +00:00
documents.js v9: Major feature update — audio backup, SOAP save, Dragon memory, S3 docs, CI/CD, APK 2026-03-28 21:08:32 +00:00
encounters.js Fix: admin models loading, clear refine/instructions on New, bigger HPI areas, unique labels 2026-03-29 01:35:45 +00:00
hospitalCourse.js Wire physician memories/templates into all AI generation routes 2026-03-25 17:35:30 -04:00
learningHub.js Fix CMS button clickability, replace AI topic input with context box 2026-03-24 11:52:02 -04:00
liveEncounter.js Fix TTS axios/Vertex, generic toast, add stop button to encounter 2026-03-29 22:09:56 -04:00
memories.js Server-side audio backups with compression, viewable AI corrections 2026-03-29 10:56:31 +00:00
milestones.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
milestonesData.js v3.0: Add multi-provider Bedrock models, newborn milestones, Converse API 2026-03-23 22:13:19 +01:00
nextcloud.js Fix WebDAV selection, pdf-parse, prompt(), CSP, security issues 1/2/4/5 2026-03-24 02:28:43 -04:00
pediatricScheduleData.js Add growth velocity, feeding guidance, BMI classification to well visits 2026-03-23 23:11:24 +01:00
shadess.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
sickVisit.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
soap.js Zero-config speech: skip upload when no transcription API, use browser speech directly 2026-03-29 02:09:53 +00:00
voiceDictation.js Zero-config speech: skip upload when no transcription API, use browser speech directly 2026-03-29 02:09:53 +00:00
voicePreferences.js v15: Fix TTS preview + Browser Whisper preload with extensive debugging 2026-03-31 15:28:38 +00:00
wellVisit.js Fix vaccine/catchup tabs and serve Quill locally 2026-03-23 22:59:47 -04:00
whisperWorker.js v15: Fix TTS preview + Browser Whisper preload with extensive debugging 2026-03-31 15:28:38 +00:00