HomePhabricator
Diffusion Comm a5f9fb82e469

[web] Introduce account delete modal

Tags
None
Referenced Files
F61769: delete_account_1.png
May 27 2022, 8:34 AM
Subscribers
None

Description

[web] Introduce account delete modal

Summary:
This modal contains a part of the logic from user settings modal, so it is a good idea to reuse what we already have there. The first step is to simply copy the content of that modal (with naming and import changes) - we can do that, because the last step of this stack will be to delete the original modal which will get rid of the duplication.

This is the first step in adding the modal, introduced mainly to allow easier review of the code - so that it is clear which parts stay and which are not needed.

delete_account_1.png (1×1 px, 156 KB)

Test Plan: Modify danger-zone so that the modal is displayed after user clicks Delete Account button. A modal that looks like user settings should be displayed.

Reviewers: def-au1t, atul, benschac

Reviewed By: atul

Subscribers: ashoat, Adrian, yayabosh

Differential Revision: https://phabricator.ashoat.com/D4117

Details

Provenance
tomekAuthored on May 20 2022, 10:50 AM
Reviewer
atul
Differential Revision
D4117: [web] Introduce account delete modal
Parents
rCOMM40f76e5fe03a: [keyserver] Factor out create-db.js script into setupDB function
Branches
Unknown
Tags
Unknown