As a user I want to drop or select multiple files on the home page so I can digitize a stack of documents without navigating to a form for each one #66
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
When digitizing a box of letters, the biggest source of friction is that every document requires navigating to "New Document", filling out a form, and uploading. The goal is to let the user dump all their scans at once and enrich the metadata later.
User Journey
User opens the home page. A clearly visible drop zone (or a "Upload files" button for mobile) is present above or alongside the document list. The user drags one or more PDF/image files onto the zone — or taps the zone on mobile to open the file picker. For each file, the system immediately creates a document with:
title= filename (without extension)status=UPLOADEDA brief success toast shows how many documents were created. The newly created documents appear at the top of the list (or the user is taken to the enrichment queue — see issue #X). No form, no navigation.
If some files fail (wrong type, too large), per-file error messages are shown without blocking the successful ones.
E2E Scenarios
Implementation notes
POST /api/documents+POST /api/documents/{id}/fileendpoints, or extend the endpoint to accept a bare multipart file upload that creates and uploads in one request (preferred to reduce round trips).application/pdf+ common image types (image/jpeg,image/png,image/tiff).Related: #67 (enrichment queue — natural next step after bulk upload), #68 (progressive form — fallback for manual entry), #69 (filename parsing — enhances bulk upload with auto-suggestions)