WildAid / o-fish-android

Android app for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection.
Apache License 2.0
22 stars 24 forks source link

Cancel Boarding if the boarding is a draft #320

Closed o-fish-wildaid closed 4 years ago

o-fish-wildaid commented 4 years ago

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.

am-MongoDB commented 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

Sheeri commented 4 years ago

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.