pediatric-ai-scribe-v3/public/js
Daniel 80d468a85d feat: a recording survives switching to the Assistant, and signing out keeps it
Switching to the Assistant set window.location, which reloads the document
and silently ended any running recording. The assistant is a tab in the same
page and activateTab already rewrites the URL to /assistant, so the switch
now happens in place; the reload stays as a fallback. Verified in Chromium:
recorder still running, no reload, URL /assistant, assistant visible.

Signing out mid-recording used to end it with nothing kept. It now says so
first — "the audio will be saved for 24 hours so you can transcribe it
later" — and stores the audio either way, tagged with the module that
produced it ('encounter', 'soap', 'dictation'), which is what makes it
findable in Settings afterwards. Sign-out completes whether or not the save
worked, and the rescue never rejects, because the caller is on its way out.
Verified: the warning appears and the upload carries module=encounter.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU
2026-09-10 16:54:01 +02:00
..
admin fix: image models can be added and offered; solid phone top bar on iOS 2026-09-10 13:46:19 +02:00
assistant perf: cache generated images for the session and decode thumbnails, not originals 2026-09-10 05:20:10 +02:00
bedside
calculators
learningHub feat: integrate durable image jobs/private assets into current core 2026-09-07 16:53:42 +02:00
notes feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
wellVisit
accountBoundary.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
admin-docs.js
admin.js fix: drop the dead admin jump links; stop a test flake at its source 2026-09-10 15:16:47 +02:00
app.js feat: a recording survives switching to the Assistant, and signing out keeps it 2026-09-10 16:54:01 +02:00
audioBackup.js feat: export a recording; report a recorder that has silently died 2026-09-10 15:58:58 +02:00
auth.js feat: a recording survives switching to the Assistant, and signing out keeps it 2026-09-10 16:54:01 +02:00
authFetch.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
calc-math.js
calculators.js
chartReview.js
clinicalAssistant.js fix: stop iOS zoom, compact model control, quieter composer, better search 2026-09-10 15:26:43 +02:00
diagrams.js
documents.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
drugs-loader.js
e2e-bootstrap.js
ed-encounters.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
encounters.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
extensions.js fix: image Done state, chat titles that keep whole words, and readable extension cards 2026-09-10 06:44:22 +02:00
generatedImages.js perf: store real image previews in MinIO, generated at creation and on demand 2026-09-10 06:39:30 +02:00
hospitalCourse.js
learningHub.js feat: integrate durable image jobs/private assets into current core 2026-09-07 16:53:42 +02:00
liveEncounter.js feat: keep the screen awake while recording, and keep every recording 24h 2026-09-10 16:42:31 +02:00
memories.js
milestones.js
milestonesData.js
nextcloud.js
notes.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
peGuide.js
secureStorage.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
shadess.js harden clinical assistant source handling 2026-05-09 19:59:04 +02:00
sickVisit.js
soap.js
speechRecognition.js
transcriptionSettings.js
ui-state.js
voiceDictation.js
voicePreferences.js
wellVisit.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00