Skip to content

Feat(video): add real upload progress - #371

Merged
hunghg255 merged 4 commits into
hunghg255:mainfrom
Found-L:feat/video-upload-progress
Jul 28, 2026
Merged

Feat(video): add real upload progress#371
hunghg255 merged 4 commits into
hunghg255:mainfrom
Found-L:feat/video-upload-progress

Conversation

@Found-L

@Found-L Found-L commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • support real byte-based upload progress through context.onProgress
  • display individual progress and status for each video
  • display overall progress weighted by uploaded bytes
  • isolate upload failures so other videos can continue
  • preserve the selected file order when inserting uploaded videos
  • share the upload workflow between the toolbar and /video command
  • keep existing upload(file) implementations backward compatible

New option

  • uploadConcurrency: controls the maximum number of simultaneous uploads and defaults to 3

Upload API

upload(file, {
  onProgress: ({ loaded, total }) => {
    // Report real progress from XHR, Axios, or a storage SDK.
  },
})

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

@Found-L is attempting to deploy a commit to the Gia Hung's projects Team on Vercel.

A member of the Team first needs to authorize it.

@hunghg255
hunghg255 merged commit a356bfb into hunghg255:main Jul 28, 2026
1 of 3 checks passed
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.

2 participants