Skip to content

Feat/multi upload progress - #678

Merged
ShaneIsrael merged 3 commits into
ShaneIsrael:developfrom
yahya-kousa:feat/multi-upload-progress
Jul 20, 2026
Merged

Feat/multi upload progress#678
ShaneIsrael merged 3 commits into
ShaneIsrael:developfrom
yahya-kousa:feat/multi-upload-progress

Conversation

@yahya-kousa

Copy link
Copy Markdown
Contributor

Closes #676

Details

Added bulk video uploading:

  • Multi-select/drag-drop now queues and uploads every file (up to 3
    concurrently) instead of dropping the rest
  • Each file gets its own progress row (percent, Queued / Processing /
    Done / Failed) plus an aggregate header; single-file uploads keep
    their existing look unchanged
  • The pre-upload dialog applies a shared game/folder/tags to the whole
    batch, with a per-file editable title so each clip can still get its
    own name

Demo

bulkuploaddemo.mp4

@ShaneIsrael

Copy link
Copy Markdown
Owner

I like it. Code looks fine at a glance. Going to put copilot on to review as well just as an added check since it is an update to the upload process.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a multi-file upload experience for videos, adding a client-side upload queue with per-file progress rows and a batch metadata dialog, while keeping the single-file UI path intact.

Changes:

  • Updated global drag/drop to pass all dropped files to the upload card rather than only the first file.
  • Reworked UploadCard to enqueue multiple files, upload up to 3 concurrently, and render per-file + aggregate progress UI.
  • Extended the pre-upload dialog to apply shared metadata across the batch while allowing per-file editable titles.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
app/client/src/components/utils/GlobalDragDropOverlay.js Sends all dropped files to the registered upload handler (openFiles) instead of only the first file.
app/client/src/components/cards/UploadCard.js Adds multi-upload queue, concurrency limiting, per-file/aggregate progress UI, and batch metadata/title handling.
Comments suppressed due to low confidence (1)

app/client/src/components/cards/UploadCard.js:298

  • imageThumbnailUrlRef is never assigned anywhere in this component, but it is still being revoked here. This is dead code and can mislead future changes (and suggests a missing assignment that doesn't exist). Remove this block (and the unused ref if no longer needed).
    if (imageThumbnailUrlRef.current) {
      URL.revokeObjectURL(imageThumbnailUrlRef.current)
      imageThumbnailUrlRef.current = null
    }

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +541 to +544
const loadedQueueBytes = uploadQueue.reduce(
(sum, i) => sum + (i.status === 'done' || i.status === 'processing' ? i.file.size : i.progress * i.file.size),
0,
)
@ShaneIsrael
ShaneIsrael merged commit eecda9e into ShaneIsrael:develop Jul 20, 2026
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.

3 participants