pediatric-ai-scribe-v3/src/utils
Daniel fa9970458f
Some checks failed
Forgejo Docker Build / Root app tests (push) Successful in 51s
Forgejo Docker Build / Build Docker image (push) Successful in 19s
Forgejo Docker Build / End-to-end (browser) (push) Failing after 11s
fix: the export's last table column wraps again, and citations-off strips every marker form
The export styles pinned the last column of every table to one unbreakable
line (width:1%; white-space:nowrap) — right for a numbers column, wrong for a
two-column clinical table whose second column is the whole finding: the
table grew to the width of its longest sentence and iOS then inflated the
text in those cells, so the "Finding" column read in a bigger font than the
"Feature" column. The pin goes, and the sheet opts out of text inflation.

With citations switched off the answer is still grounded in the retrieved
sources; only the markers are removed. The stripper now also removes the
escaped \[1, 2\] form and [src] placeholders, which used to survive as text.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU
2026-09-13 05:42:32 +02:00
..
adminLockdown.js refactor: remove the embedding settings, whose only consumer is gone 2026-09-12 21:47:09 +02:00
ai.js
audioBackupStore.js
auditQueue.js
buildId.js
citationAudit.js
clinicalAnswer.js fix: the export's last table column wraps again, and citations-off strips every marker form 2026-09-13 05:42:32 +02:00
clinicalConversation.js fix: an assistant attachment must be the image type it claims to be 2026-09-12 19:00:10 +02:00
clinicalMcpClient.js
clinicalPromptPool.js
clinicalPrompts.js
clinicalRetrieval.js
clinicalTranslation.js
config.js
crypto.js feat: a ciphertext now only decrypts in the row it was written for 2026-09-12 21:25:24 +02:00
deckBuild.js fix: a second deck reused the first deck's pictures 2026-09-12 08:26:09 +02:00
deckReview.js feat: modifying a deck can see it 2026-09-12 06:55:16 +02:00
deckSample.js feat: a theme is shown by a sample deck you download, not a picture 2026-09-12 22:24:05 +02:00
deckSchema.js fix: an assistant attachment must be the image type it claims to be 2026-09-12 19:00:10 +02:00
docSpec.js feat: a slide can be drawn from primitives when the named layouts have no word for it 2026-09-11 22:12:26 +02:00
documentExport.js fix: the theme reaches the renderer, so changing it changes the deck 2026-09-13 01:25:31 +02:00
errors.js
extensionTransfer.js
fileLog.js fix: a second deck reused the first deck's pictures 2026-09-12 08:26:09 +02:00
fileType.js
generatedImageLinks.js feat: retire Learning Hub 2026-09-12 20:14:20 +02:00
generatedImages.js feat: retire Learning Hub 2026-09-12 20:14:20 +02:00
generatedImageStorage.js feat: an image library — every picture this account has made 2026-09-12 14:36:30 +02:00
generationOptions.js
imageTool.js fix: a second deck reused the first deck's pictures 2026-09-12 08:26:09 +02:00
learningRetrieval.js
litellm.js feat: a text-only model can ask a model that can see; and the image regex is gone 2026-09-12 15:43:36 +02:00
logger.js fix: a second deck reused the first deck's pictures 2026-09-12 08:26:09 +02:00
loginCodes.js feat: a key per search provider, and the sign-in code email looks like our mail 2026-09-13 02:30:17 +02:00
metrics.js fix: generation stopped working whenever the slide reviewer was switched off 2026-09-12 00:57:30 +02:00
models.js
modelVision.js feat: a text-only model can ask a model that can see; and the image regex is gone 2026-09-12 15:43:36 +02:00
nextcloudFiles.js feat: a ciphertext now only decrypts in the row it was written for 2026-09-12 21:25:24 +02:00
notify.js
objectStorage.js
openapi.js feat: the API describes itself, at /api/openapi.json 2026-09-13 00:52:55 +02:00
openapiRoutes.js feat: speech models have a roster; each brings its voices, users choose across all of them 2026-09-13 04:49:24 +02:00
passwords.js
patientTakehome.js
platform.js
policy.js
promptCatalog.js fix: the image settings card can save again; Learning Hub is out of the admin 2026-09-13 01:39:15 +02:00
promptRevisions.js
prompts.js
promptSafe.js
pubmedSearch.js
redact.js
redis.js
registrationInvites.js feat: a revoked invitation can be deleted 2026-09-13 03:30:05 +02:00
resourceImages.js feat: retire Learning Hub 2026-09-12 20:14:20 +02:00
sessions.js
slideShapes.js feat: record what a deck wanted and could not have 2026-09-11 22:51:15 +02:00
slideSpec.js fix: decks were falling back to markdown, so no figure could ever be requested 2026-09-12 04:21:20 +02:00
sttProvider.js
ttsProvider.js feat: speech models have a roster; each brings its voices, users choose across all of them 2026-09-13 04:49:24 +02:00
urlSafety.js
visionTool.js fix: the active library view is unmistakable, and a leading question cannot mislead the vision model 2026-09-12 16:27:21 +02:00
webSearch.js feat: a key per search provider, and the sign-in code email looks like our mail 2026-09-13 02:30:17 +02:00