feat: support folder and single .md uploads in web app#6
Merged
Conversation
The browser upload panel previously accepted only ZIP archives. This change adds folder drag-and-drop / browse and single .md file upload by converting the input to an in-memory ZIP via the existing WASM buildPdfArchive binding, then feeding it into the unchanged analyzeZip pipeline. When a lone .md references local images the UI shows a warning since the browser sandbox cannot resolve them. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Yonghye Kwon <developer.0hye@gmail.com>
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.
Summary
.mdfile upload support (image-free documents only; local image refs trigger a warning banner)zip_from_files.mjsmodule converts folder/file inputs to in-memory ZIP via existing WASMbuildPdfArchive, reusing the full analyze/render pipeline without Rust changesnode:test), all passing alongside existing 47 web testsTest plan
cargo test --workspace— all Rust tests pass (76 passed, 1 pre-existing CRLF fixture issue unrelated)node web/zip_from_files.test.mjs— 29/29 pass🤖 Generated with Claude Code