Page MenuHomePhabricator

[web] cleanup account delete modal
ClosedPublic

Authored by ginsu on Dec 12 2023, 12:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 8:31 AM
Unknown Object (File)
Fri, Nov 8, 8:20 AM
Unknown Object (File)
Fri, Nov 8, 7:14 AM
Unknown Object (File)
Fri, Nov 8, 6:29 AM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Subscribers

Details

Summary

This diff cleans up the one off styles in the account delete modal and replaces it with styles of the redesigned modal.

Linear task: https://linear.app/comm/issue/ENG-5943/extendmodify-the-modal-props-api-to-follow-new-modal-designs

Depends on D10316

Test Plan

Please see the screenshots below

Screenshot 2023-12-12 at 3.50.49 PM.png (1×3 px, 729 KB)

error case:

Screenshot 2023-12-12 at 3.51.50 PM.png (1×3 px, 740 KB)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu requested review of this revision.Dec 12 2023, 1:19 PM

Looks good - just one comment inline.

Also just a personal opinion on the design of the modal (I know you didn't introduce the change in this diff so no changes are needed here), but I think the little ! circle icon would look better inline with the text, either in its own column side-by-side to the text, or just next to the first line of text. Not a big deal though, just wanted to call it out

web/settings/account-delete-modal.css
22

Could be good to be consistent with the file (maybe either make this error_placeholder or make everything else camel case)

This revision is now accepted and ready to land.Dec 12 2023, 1:26 PM

Also just a personal opinion on the design of the modal (I know you didn't introduce the change in this diff so no changes are needed here), but I think the little ! circle icon would look better inline with the text, either in its own column side-by-side to the text, or just next to the first line of text. Not a big deal though, just wanted to call it out

I think side by side would look better too, I can make that change if we are all aligned on it.

cc @ashoat @atul

web/settings/account-delete-modal.css
22

Sorry should have called this out, but the very next diff does switch the casing for each style to be camel case

update icon and text to be side by side + rebase before landing

This revision was landed with ongoing or failed builds.Feb 15 2024, 12:44 AM
This revision was automatically updated to reflect the committed changes.