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)
Tue, Nov 26, 1:35 AM
Unknown Object (File)
Mon, Nov 25, 9:34 PM
Unknown Object (File)
Mon, Nov 25, 8:00 PM
Unknown Object (File)
Wed, Oct 30, 11:24 PM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 4:38 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!