-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: File Upload Progress #14878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: File Upload Progress #14878
Conversation
🦋 Changeset detectedLatest commit: 2a08865 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
| '@sveltejs/kit': minor | ||
| --- | ||
|
|
||
| feat: File uploads inside `form` remote functions are now streamed - form data can be accessed before large files finish uploading. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| feat: File uploads inside `form` remote functions are now streamed - form data can be accessed before large files finish uploading. | |
| feat: stream file uploads inside `form` remote functions allowing form data to be accessed before large files finish uploading |
| '@sveltejs/kit': minor | ||
| --- | ||
|
|
||
| feat: File upload progress is available on `myForm.fields.someFile.progress()` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| feat: File upload progress is available on `myForm.fields.someFile.progress()` | |
| feat: file upload progress is available via `myForm.fields.someFile.progress()` |
see #14773
Builds on #14775 to use XHRs for file upload progress in forms:
Messy diff because I can't stack PRs here.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm testand lint the project withpnpm lintandpnpm checkChangesets
pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.Edits