Closed o-fish-wildaid closed 4 years ago
Should call a cascading delete function (to be added) on the view model under https://github.com/WildAid/o-fish-android/issues/323
The customer has requested that drafts be able to be saved across mobile to web - that is, a SAVED draft boardings that hasn't been submitted, should NOT be deleted.
I apologize for the change in functionality; this reverses what we were told earlier.
If the boarding is a draft and the user clicks cancel boarding - they should see a screen that has 'Keep Editing' 'Save and Finish Later' and 'Delete Boarding' (not 'cancel boarding') so it is clear that cancel means their draft goes away. Design is at https://mongodb.invisionapp.com/share/M6YN2Y77B8E#/screens/430523446_Cancel_Draft_Boarding If they select 'Delete Boarding' they should see a modal that says 'Boarding Deleted' and go back to the list of draft boardings (the screen you get when you click 'Draft Boardings' from the home page) without that boarding on the list - because it’s been deleted.