openstack-uicore-foundation 4.2.28-beta.2 → 4.2.28-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/plans/2026-04-22-dropzone-pooling-ux.md +2 -1
- package/lib/components/index.js +1 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/inputs/upload-input-v2.js +1 -1
- package/lib/components/inputs/upload-input-v2.js.map +1 -1
- package/lib/components/inputs/upload-input-v3.js +1 -1
- package/lib/components/inputs/upload-input-v3.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Created: 2026-04-22
|
|
4
4
|
Author: smarcet@gmail.com
|
|
5
|
-
Status:
|
|
5
|
+
Status: VERIFIED
|
|
6
6
|
Approved: Yes
|
|
7
7
|
Iterations: 2
|
|
8
8
|
Worktree: No
|
|
@@ -74,6 +74,7 @@ Type: Bugfix
|
|
|
74
74
|
2. **Fix**: Move `file._asyncProcessing = true` inside the `else if(xhr?.status == 202)` branch AND guard it with `if (fileId)` check. Now the flag is only set when we receive the final 202 chunk with `file_id`.
|
|
75
75
|
3. **XHR tracking**: Added `this.activeXHRs` Map to track all active XHR requests per file.
|
|
76
76
|
4. **Cancellation support**: Cancel pending XHRs when file is removed or component unmounts, preventing resource waste.
|
|
77
|
+
5. **Chunk throttling**: Added `maxConcurrentChunks` prop (default: 3) to DropzoneJS, V2, and V3. Wraps Dropzone's `_uploadData` with a concurrency-limited queue. When `parallelChunkUploads: true`, only N chunks upload concurrently instead of all at once. Queue drains as chunks complete via `onChunkComplete()` callback in xhr.onload/onerror.
|
|
77
78
|
|
|
78
79
|
## Tasks
|
|
79
80
|
|