feat(ui): support multiple document upload in a single operation#818
Merged
Conversation
…asa-dev#489) Add multi-document staging overlay triggered by Shift+A on the Docs tab. Files are read eagerly at stage time with size, MIME, and SHA256 validation. Batch submission creates one Document per file, followed by async sequential extraction with a progress view. - Staging overlay with file picker + navigable staged-files list - Duplicate path and checksum detection - Entity selector for top-level Docs tab - Async extraction pipeline with cancel support - Confirmation dialog, Shift+H toggle, size warning, mouse clicks - DocumentExistsByChecksum store method - Refactored file picker helpers for bare *huh.FilePicker - Design spec and implementation plan in plans/ closes micasa-dev#489 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
c064e6a to
d88b21d
Compare
… field Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cpcloud
added a commit
that referenced
this pull request
Mar 27, 2026
The batch document upload overlay reinvented the file picker, staging list, extraction progress, and error handling from scratch instead of building on the existing single-document extraction flow. The result was broken across the board: forced entity selection, single-file picker display, non-functional removal, ugly styling, and no progress indicators. Reverts the batch_doc overlay, its tests, and all wiring (model, keys, mouse, view, types). The plan files are preserved as permanent design records. Shift+A restores the working single-doc quick-add form. The feature will be rebuilt incrementally as a natural extension of the existing extraction overlay. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cpcloud
added a commit
that referenced
this pull request
Mar 27, 2026
## Summary - Revert the batch document upload overlay (commit 888e6eb) which reinvented the file picker, staging list, and extraction progress from scratch instead of building on the existing single-doc flow - Shift+A on the Documents tab restores the working single-doc quick-add form - Plan files preserved as permanent design records The feature will be rebuilt incrementally as an extension of the existing form and extraction machinery (#830). Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.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
Shift+Aon the Docs tabtabstore.CreateDocumentShift+Hhidden file toggle, cumulative size warning, mouse clickabilityDocumentExistsByChecksum(kind, id, checksum) (bool, error)store method*huh.FilePickerplans/closes #489