Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
ACQ Sprint 69
-
2
-
Thunderjet
Description
Purpose: Organizations has a "Delete" button that is in an odd place and deletes the entire Organization without any confirmation (though the "unsaved changes" modal may flash briefly. We need to move the button and add a confirmation modal
May need a better wireframe
As a staff person working with Organizationss
I want to be able to delete organizations when appropriate, but first have a confirmation
So that I don't accidentally delete organizations that I didn't mean to
Scenarios
- Scenario 1
- Given the Organizations edit screen with its "Delete" button at the bottom right
- Remove the "Delete" button
- And replace it with a caret next to the Organization name in the Organization view, with the following options
- Delete, preceded by the trashcan icon
- Edit, preceded by the edit pencil icon
- Scenario 2
- Given the Organization caret's "Edit" option
- When a user clicks it
- Then open the Organization edit screen
- And take the same actions as when the user clicks the edit pencil at the top right of the Organization view
- Scenario 3
- Given the Organization caret's "Delete" option
- When the user clicks it
- Then a confirmation modal should appear, formatted as shown in 07-Settings Delete file extension modal.png
- Except with the following text:
- Header: Delete [Organization name]?
- Body: Delete organization?
- Standard Cancel/Delete buttons, with Delete defaulted
- Scenario 4
- Given the delete confirmation modal
- When a user clicks Cancel
- Then close the delete confirmation modal without deleting the Organization
- Scenario 5
- Given the delete confirmation modal
- When a user clicks Delete
- Then delete the Organization
- Remove the Organization from the list of Organizations
- And return the user to the list of Organizations, without the one that was just deleted
- And display a standard green success toast, similar to the attached, with the wording: The organization [Organization name] was successfully deleted
- Scenario 6
- Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot
See attached wireframes