Add confirmation dialogs when discarding drafts from the unified banner.

Review Request #13130 — Created June 28, 2023 and submitted

Information

Review Board
release-6.x

Reviewers

One feature that was missing from the new banner that was present in the
old was a confirmation dialog when discarding a draft review.
Additionally, we didn't have any kind of confirmation step when
discarding review request drafts. This change implements both of those
in the new UI.

Discarded review request drafts and review drafts. Saw the confirmation
dialog, which canceled the operation through either the escape key or
clicking the cancel button, and proceeded when clicking the discard
button.

Summary ID
Add confirmation dialogs when discarding drafts from the unified banner.
One feature that was missing from the new banner that was present in the old was a confirmation dialog when discarding a draft review. Additionally, we didn't have any kind of confirmation step when discarding review request drafts. This change implements both of those in the new UI. Testing Done: Discarded review request drafts and review drafts. Saw the confirmation dialog, which canceled the operation through either the escape key or clicking the cancel button, and proceeded when clicking the discard button.
6afdce168166ca3b7f460a39704fbc4efa2f3c96
maubin
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed