nswalters / AppTrakz-Client

React Client for AppTrakz application for documenting the job application process.
0 stars 0 forks source link

Safe-Delete Cascade Company #25

Closed nswalters closed 3 years ago

nswalters commented 3 years ago

As a user, I would like the ability to remove a company and any references to that company from my list without actually deleting them, to allow for restoration in the near future if required.

Given a user is visiting the list of companies OR a company detail view When they select the Delete option Then the should be prompted to confirm the deletion

Given a user wishes to confirm the delete When they then select the option to confirm Then the Company should be 'soft-deleted' from the system (i.e. the 'deleted' column is populated with the timestamp of the soft-delete operation, it is otherwise NULL) And the user the user should be redirected to the Company list view

Given the user decides not to confirm the delete When they select the option to reject confirmation Then the Company should NOT be soft-deleted And the user should be redirected to the Company detail view (or previous view if that makes more sense)