Release: sequential PDF parsing + Harmony Discovery links - #64
Merged
Merged
Conversation
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
✅ Deploy Preview for harmony-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases
masterto GH Pages (harmonydata.ac.uk/app)./searchapp (?topics=and?query=verified).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