Skip to content

feat: support folder and single .md uploads in web app#6

Merged
developer0hye merged 1 commit into
mainfrom
feat/folder-md-upload
Mar 9, 2026
Merged

feat: support folder and single .md uploads in web app#6
developer0hye merged 1 commit into
mainfrom
feat/folder-md-upload

Conversation

@developer0hye

Copy link
Copy Markdown
Owner

Summary

  • Add folder drag-and-drop and browse button for uploading entire directories with images
  • Add single .md file upload support (image-free documents only; local image refs trigger a warning banner)
  • New zip_from_files.mjs module converts folder/file inputs to in-memory ZIP via existing WASM buildPdfArchive, reusing the full analyze/render pipeline without Rust changes
  • 29 new tests for the module (node:test), all passing alongside existing 47 web tests

Test 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
  • All existing web module tests unchanged and passing

🤖 Generated with Claude Code

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>
@developer0hye developer0hye merged commit 7a98594 into main Mar 9, 2026
2 checks passed
@developer0hye developer0hye deleted the feat/folder-md-upload branch March 9, 2026 05:09
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