-
-
Notifications
You must be signed in to change notification settings - Fork 285
[BUG] Manage case conflicts with other buttons on dialog #1052
Description
Describe the bug
When you click the "Manage" case button you are taken to a read only display of the case "manage" properties, which includes a "Delete case", "Close Case" and/or "Reopen Case" buttons on the bottom of the dialog. When you click on "Edit", or go directly to edit by clicking on the "State" badge, the bottom of the dialog then gets "Cancel" and "Save" buttons added. At this point the user can make changes to the case "manage" properties and is expected to save or cancel. However, the user can make changes and then click "Close case" believe it will save the changes they made and it will not do that. When the case is in closed status, the reopen button and delete case are pull-right, this should be consistent and be to the left as is the delete case and close case buttons.
To Reproduce
Steps to reproduce the behavior:
- Go to case properties
- Click on edit
- Make a change to the case, i.e. set the outcome
- Click "Close case" and confirm
- Confirm that the changes made are lost
Expected behavior
Remove the "Delete Case", "Close Case" and "Reopen Case" buttons from the edit dialog, they should only appear on the read only display of case data dialog.
Screenshots
Presence OK, but shift to the left instead of pull-right:

Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A


