When user added new files during an active upload (drag-drop, picker or folder monitor with pre-selected hosters), the files were pushed to selectedFiles but NO queue jobs were created (because updateUploadView skips buildQueuePreview during uploading=true). The files briefly showed up via folder monitor's direct buildQueuePreview call, but then handleBatchDone → syncSelectedFilesFromQueue removed them from selectedFiles because they had no queue jobs. Now: applyHosterSelection() and folder monitor both detect added files during upload and: 1. Build preview jobs for the new files 2. Reset them to 'queued' status 3. Inject them into the running batch via addJobsToBatch IPC The upload-manager has duplicate protection so re-injection is safe. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app.js | ||
| drop-target.html | ||
| index.html | ||
| styles.css | ||