HomePhabricator
Diffusion Comm 1dae2e974e2c

[native] Handle unsaved changes when 'cancel' is pressed

Description

[native] Handle unsaved changes when 'cancel' is pressed

Summary:
As a second part to the header left button, we want to ensure that a user is prompted with an alert warning them that they are discarding changes if they've selected a different role but not saved.

Depends on D8158

Test Plan:
Please see the video below

Reviewers: atul, ginsu, tomek

Reviewed By: atul

Subscribers: ted, ashoat

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

Details

Provenance
rohanAuthored on Jun 9 2023, 8:14 AM
Reviewer
atul
Differential Revision
D8159: [native] Handle unsaved changes when 'cancel' is pressed
Parents
rCOMM6f5fbe01189d: [native] Create a ChangeRolesHeaderLeftButton to cancel role changes
Branches
Unknown
Tags
Unknown