mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-21 01:15:35 +00:00
Before Add a file Call uppy.upload() but make it fail (set throttling to offline in your browser) Call uppy.upload() again but no throttling Events are not fired, endless uploading state. You must call retryAll() instead but it's better DX if you can simply call upload() again and let us figure it out. After upload() behaves like retryAll() when errors occurred in a backwards compatible way. What if an upload fails and you also add a new file? Backwards compatible behaviour similar to how it currently works when using the dashboard. In the dashboard you can only click the retry button and once that upload is done you can click upload again to upload the new files. When a previous upload partially failed, you add a new file, and call upload() this PR makes sure two uploads are done in a row. That does mean you get the 'complete' event twice. |
||
|---|---|---|
| .. | ||
| @uppy | ||
| uppy | ||