pediatric-ai-scribe-v3/public/js
ifedan-ed c38ce9445e
Some checks failed
Build TWA APK / build-apk (push) Has been cancelled
Build & Push Docker Image / build (push) Has been cancelled
v16: Make Browser Whisper CDN failure graceful with clear warnings
REALITY CHECK: Browser Whisper CDN loading cannot work in all environments
- Corporate firewalls block cdn.jsdelivr.net
- Network proxies filter JavaScript CDN
- Workers + importScripts + cross-origin = blocked by CSP/CORS

SOLUTION: Graceful degradation
- Clear user-friendly error messages
- Automatic fallback to server transcription
- Warning banner in Settings if CDN blocked
- Comprehensive troubleshooting documentation

Changes:
- browserWhisper.js: Show toast on worker error, fallback gracefully
- app.js: Display CSP warning banner on preload failure
- settings.html: Add warning about network/firewall requirements
- BROWSER_WHISPER_TROUBLESHOOTING.md: Complete guide for users

Key Message:
Browser Whisper is OPTIONAL. Server transcription (Google/AWS/OpenAI)
is the primary method and works everywhere. Browser Whisper is a
privacy-focused bonus feature that requires CDN access.

User Experience:
- If CDN works: Great! Browser Whisper available
- If CDN blocked: No problem! Server transcription works perfectly
- Clear messaging: User knows what to expect
2026-03-31 16:18:46 +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 v16: Make Browser Whisper CDN failure graceful with clear warnings 2026-03-31 16:18:46 +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 v16: Make Browser Whisper CDN failure graceful with clear warnings 2026-03-31 16:18:46 +00: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 Fix TTS preview for 'Server default' voice option 2026-03-31 16:15:41 +00:00
wellVisit.js Fix vaccine/catchup tabs and serve Quill locally 2026-03-23 22:59:47 -04:00
whisperWorker.js v15.1: CRITICAL FIX - TTS Preview + Browser Whisper actually working now 2026-03-31 16:00:10 +00:00
whisperWorkerV2.js v16: Make Browser Whisper CDN failure graceful with clear warnings 2026-03-31 16:18:46 +00:00