Page MenuHomePhabricator

[web] introduce confirmation alert component
ClosedPublic

Authored by ginsu on Nov 28 2023, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 4:23 AM
Unknown Object (File)
Thu, Apr 25, 2:03 PM
Unknown Object (File)
Thu, Apr 25, 1:59 PM
Unknown Object (File)
Mar 5 2024, 6:48 AM
Unknown Object (File)
Mar 5 2024, 6:48 AM
Unknown Object (File)
Mar 5 2024, 6:48 AM
Unknown Object (File)
Mar 5 2024, 6:48 AM
Unknown Object (File)
Mar 5 2024, 6:48 AM
Subscribers

Details

Summary

To confirm the deletion of a keyserver, I will need a very similar modal to the delete role modal. Rather than copying and pasting, I introduced a ConfirmationAlert component that can be used in both instances.

Depends on D10080

Test Plan

Confirmed that the delete role modal looked and behaved as before

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: rohan, inka, michal.
ginsu requested review of this revision.Nov 28 2023, 9:08 PM

Thanks for doing this! Could you share a screenshot for what the delete roles modal looks like now please?

This revision is now accepted and ready to land.Nov 29 2023, 3:59 AM

Thanks for doing this! Could you share a screenshot for what the delete roles modal looks like now please?

Screenshot 2023-11-30 at 12.59.25 AM.png (1×3 px, 798 KB)

Here is a screenshot. There should be no visual changes!