Commit 9db786c
fix(@uppy/transloadit): show processing UI when restoring an assembly
When Golden Retriever restores a Transloadit assembly after a page
refresh, the UI was not updated to reflect that the assembly was still
being processed. This caused the Upload button to appear and files to
look like they were ready to upload again, even though the assembly was
already running in the background.
Fix by setting `allowNewUpload: false` and emitting `postprocess-progress`
for each file when restoring an in-progress assembly, so the Dashboard
shows the encoding indicator. When the assembly eventually completes via
the AssemblyWatcher, `allowNewUpload` is reset to `true`.
Fixes #6017
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 23cbd4a commit 9db786c
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
454 | 458 | | |
455 | 459 | | |
456 | 460 | | |
| |||
738 | 742 | | |
739 | 743 | | |
740 | 744 | | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
741 | 762 | | |
742 | 763 | | |
743 | 764 | | |
| |||
0 commit comments