Skip to content

Release: sequential PDF parsing + Harmony Discovery links - #64

Merged
ronnyTodgers merged 8 commits into
releasefrom
master
Sep 24, 2026
Merged

ronnyTodgers merged 8 commits into
releasefrom
master

Conversation

@ronnyTodgers

Copy link
Copy Markdown
Collaborator

Releases master to GH Pages (harmonydata.ac.uk/app).

Local production build verified (CI=true npm run build + build:HarmonyExport). The lazy chunk hash is unchanged (117.49dd3954), so tabs already open during the deploy keep working.

🤖 Generated with Claude Code

John Rogers and others added 8 commits February 5, 2026 12:23
A single /text/parse call carrying many large PDFs times out: Tika can
take well over a minute per big or scanned PDF, and the client's 15s
timeout with three blind retries then re-sent the whole batch while the
server was still working on the first attempt. The user saw "Something
went wrong" even though each file parses fine on its own.

Upload.js now chains one /text/parse call per file, in series, with a
progress toast ("Parsing 3 of 15: name.pdf"), shows each file as soon as
it lands, and reports which files failed instead of failing the batch.
DataContext.parse gets a generous per-file timeout and no retry, since
re-sending a PDF that just timed out only piles more work on the server.
The API caches parsed files by content, so a re-upload is instant.

Fixes #61

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Parse uploaded files one at a time so large PDF batches don't time out
Discovery's instruments filter needs its own instrument names; Harmony's
names (e.g. "SCARED English (child)", "CES_D English") return zero results,
so the chip would land users on an empty search. Kept behind a flag so it
can come back once the names are mapped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hide the "Studies using the same instruments" discovery chip
@ronnyTodgers
ronnyTodgers merged commit a715b0f into release Sep 24, 2026
@netlify

netlify Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for harmony-staging ready!

Name Link
🔨 Latest commit 3deedbb
🔍 Latest deploy log https://app.netlify.com/projects/harmony-staging/deploys/6ab4f6b00c2a230008e15d13
😎 Deploy Preview https://deploy-preview-64--harmony-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant