pediatric-ai-scribe-v3/src/routes
Daniel 8cca5a4796
Some checks failed
Forgejo Android APK / Root app tests (push) Successful in 50s
Forgejo Docker Build / Root app tests (push) Successful in 48s
Forgejo Android APK / Build signed APK (push) Successful in 2m4s
Forgejo Docker Build / Build Docker image (push) Successful in 12s
Forgejo Docker Build / Deploy to the host (push) Failing after 2s
feat: instructions can ask for the illustration; library scrolls and searches; Modify
Three things to My Resources.

Illustration was entirely the model's call: someone who wanted a figure of
something particular had no way to say so, because the instructions steered the
prose and nothing else. The illustration guidance now tells the model to follow
the author's instructions when they ask for a figure or name what it should
show, and to treat that as the decision already made. Verified live: "include a
diagram showing the age distribution and the simple-versus-complex distinction"
produced exactly that, both halves in one figure.

Exactly one image per generation is a real limit, not a wording choice — the
shared imageTool dispatcher rejects more than one tool call per request, and it
is used by the assistant and Learning Hub too. So the prompt says to draw the
single most useful one if several are asked for, and the screen says the same.

The library was an unbounded list that pushed everything below it off the page.
It is now a 360px scrolling box with a search over title and topic, filtered
locally because the rows are already in hand. "Nothing yet" and "nothing
matches" are different messages, because telling someone whose search missed
that they have never generated anything is wrong. Measured in a real render:
360px visible of 642px of content, and searching narrows 10 rows to 3.

Modify is new UI over the refine endpoint, which existed with no way to reach
it. Pick a resource, say what to change, and it is rewritten in place keeping
its id, its downloads and its References section. The picker is built from the
same library array, so it cannot drift, and a selection survives the refresh
that follows a generation. Verified live: "add a Key Takeaways slide before
References" inserted exactly that and left the other four slides alone.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU
2026-09-11 17:49:27 +02:00
..
admin.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
adminConfig.js feat: PubMed search for My Resources, and an image tool that actually fires 2026-09-11 16:47:08 +02:00
adminDocs.js harden clinical assistant source handling 2026-05-09 19:59:04 +02:00
adminMilestones.js fix: admin routers authenticate themselves; track the audit in TODO 2026-09-10 16:03:20 +02:00
audioBackups.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
auth.js feat: invite-only registration 2026-09-10 23:12:07 +02:00
billing.js Batch of security + scale fixes 2026-04-14 05:24:40 +02:00
chartReview.js tighten chart review source coverage 2026-05-08 07:10:00 +02:00
clinicalAssistant.js revert: remove the signed-out assistant preview 2026-09-11 05:09:02 +02:00
diagrams.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
documents.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
dontMiss.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
edEncounters.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
encounters.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
extensions.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
generatedImages.js feat: PubMed search for My Resources, and an image tool that actually fires 2026-09-11 16:47:08 +02:00
hospitalCourse.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
hpi.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
learningAdmin.js feat: integrate durable image jobs/private assets into current core 2026-09-07 16:53:42 +02:00
learningAI.js fix: references at the end, never in the body 2026-09-11 14:37:47 +02:00
learningHub.js Stop leaking e.message to clients across all routes 2026-04-14 03:04:24 +02:00
logs.js harden logging and observability 2026-05-08 19:08:19 +02:00
memories.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
milestones.js Prompt-injection wrap: remaining AI routes 2026-04-14 05:31:54 +02:00
myResources.js feat: instructions can ask for the illustration; library scrolls and searches; Modify 2026-09-11 17:49:27 +02:00
nextcloud.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
notes.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
oidc.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
patientEducation.js fix: the signed-out preview never worked, because /api was gated wholesale 2026-09-11 02:00:59 +02:00
peGuide.js fix(pe-guide): correct route imports (prod 500 regression) 2026-04-23 18:58:38 +02:00
refine.js Batch of security + scale fixes 2026-04-14 05:24:40 +02:00
sessions.js Stop leaking e.message to clients across all routes 2026-04-14 03:04:24 +02:00
sickVisit.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
soap.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
transcribe.js fix: transcription that returned nothing, and one Registration card 2026-09-11 00:41:11 +02:00
tts.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
userPreferences.js fix: patch nodemailer; Settings offers STT models the gateway really has 2026-09-10 15:54:57 +02:00
wellVisit.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00