feat(content-uploader): Implement cancel all confirmation modal#4579
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThis PR adds a confirmation modal for canceling all in-progress uploads in the ContentUploader component. A new reusable ChangesCancel All Uploads Modal and Integration
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
c9536b2 to
c794314
Compare
9cc5b98 to
73dcbd7
Compare
c794314 to
011434c
Compare
e796897 to
c88db8e
Compare
The Cancel All button on the modernized uploads manager now opens a confirmation dialog instead of canceling immediately. Confirming runs handleCancelAllUploads; dismissing leaves uploads untouched. Modal uses @box/blueprint-web AlertModal with localized copy and danger-styled primary action.
- Sort imports alphabetically. - Rename handleCancelAllRequest to handleCancelAllClick and group with cancel-all handlers. - Drop redundant cancelAllUploadsModal* prefix from message keys (heading, body, confirmButton, keepUploadingButton, closeLabel). - Rename keepButton to keepUploadingButton for clearer intent. - Match modal body via literal string instead of regex.
3dd35a9 to
8abe80a
Compare
Merge Queue Status
Required conditions to enter a queue
|
jpan-box
left a comment
There was a problem hiding this comment.
All addressed — handler reordering, naming, message keys, and test updates all look good.
Merge Queue Status
This pull request spent 15 minutes 2 seconds in the queue, including 13 minutes 52 seconds running CI. Required conditions to merge
|
4/5 PR in the queue:
Summary by CodeRabbit
Release Notes
New Features
Tests