HomePhabricator
Diffusion Comm a071dedf22ea

[native] Warn the user when deleting a chat that has contained chats

Tags
None
Referenced Files
F648102: 123.png
Aug 3 2023, 12:03 PM
File Not Attached
F648101: 101112.png
Aug 3 2023, 12:03 PM
File Not Attached
F648100: 456.png
Aug 3 2023, 12:03 PM
File Not Attached
F648099: 131415.png
Aug 3 2023, 12:03 PM
File Not Attached
Subscribers
None

Description

[native] Warn the user when deleting a chat that has contained chats

Summary:
Part of ENG-4319.

Before deletion, the user is warned about possible contained chats. For subchannel deletion, the modal looks like this:
iOS:

131415.png (956×453 px, 136 KB)

Andriod:
456.png (718×340 px, 60 KB)

When deleting a whole community, message changes:
iOS:
101112.png (956×453 px, 138 KB)

Android:
123.png (718×340 px, 60 KB)

When there are no contained chats, the confirmation modal does not pop up.

Depends on D8526.

Test Plan: Same as D8530 test plan.

Reviewers: bartek, tomek, inka, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8590

Details

Provenance
patrykAuthored on Aug 3 2023, 11:15 AM
Reviewer
ashoat
Differential Revision
D8590: [native] Warn the user when deleting a chat that has contained chats
Parents
rCOMMf79fafb48068: [native] Use currently selected theme for alerts.
Branches
Unknown
Tags
Unknown