[WC-3460]: FileUploader pre-release QA & decision review - #2269
Conversation
75a2ada to
3f56f19
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2c9fd03 to
5c834a4
Compare
This comment has been minimized.
This comment has been minimized.
5c834a4 to
84fb7a6
Compare
This comment has been minimized.
This comment has been minimized.
84fb7a6 to
a9352eb
Compare
This comment has been minimized.
This comment has been minimized.
227a57f to
4b0920d
Compare
…rning on invalid-format drop
…not clearing on dismiss
4b0920d to
d47c1bc
Compare
AI Code Review
What was reviewed
Skipped (out of scope): CI note: Build checks still queued/in-progress at review time; Snyk license/security checks erroring (pre-existing, not introduced by this PR). Findings
|
Pull request type
Bug fix (non-breaking change which fixes an issue)
Description
Pre-release QA and decision review for file-uploader-web covering changes introduced by WC-3361 (upload queue, concurrent upload limit, total file limit feedback, retry for over-limit files, list ordering) and WC-3363 (dismiss for invalid-format rejections, yellow warning lifecycle).
Two bugs found and fixed:
sortedFileswas only pushingvalidationErrorentries to the end of the list;rejected(over-limit) files were sorting alongside successful uploads. Fixed to push bothvalidationErrorandrejectedbelow all other entries.hasValidationErrorscomputed intoFileUploaderRootwarningMessage logic — banner appears whenvalidationErrorfiles are present and clears when all are dismissed.What should be covered while testing?
File limit feedback
maxFilesPerUpload = 3. Drop 3 files → dropzone greys out + "Maximum file count of 3 reached." message appearsmaxFilesPerUpload = 0or leave empty → dropzone never disables, no message ever shownUpload queue
maxFilesPerBatch = 2. Drop 5 files → exactly 2 show "Uploading…", remaining 3 show "Waiting…" with no progress barmaxFilesPerBatchempty → all dropped files start uploading simultaneouslyRetry for over-limit rejections
maxFilesPerUpload = 2. Drop 4 files → 2 upload, 2 appear as rejected with retry button greyed outDismiss for invalid-format rejections
List ordering
Regression checks
readOnlyMode = true→ dropzone is not rendered, no errorsuploadModeto images → queue, limit, and dismiss behavior works identically to files mode