Closed MartinWahnschaffe closed 6 months ago
@MartinWahnschaffe Good idea, I agree that the info message is obsolete and removing it also makes the right column look nicer. I just tried it and a problem I encountered is similar to what is described here https://github.com/hzi-braunschweig/SORMAS-Project/issues/6746.
The unsaved changes problem gets triggered but saving does not work. This seems to only happen in cases but works for contacts and event participants
I think we should make sure that the unsaved changes prompt gets triggered correctly. It might also be confusing that it appears after the sample has been saved. I think we should go with the following flow:
https://github.com/hzi-braunschweig/SORMAS-Project/issues/7350#issuecomment-976902813 This issue might already be addressed in PR #7441 and is mentioned in https://github.com/hzi-braunschweig/SORMAS-Project/issues/7425#issuecomment-986089010
The issue with the unsaved changes prompt that gets triggered after the sample is created has been fixed on the last 1.66.1 branch.
Verified ticket on the local machine using the latest version of SORMAS from the development branch - 1.95.0-SBAPSHOT(0799a1f).
Feature Description
The main view of a case currently displays this info below the sample list.
Problem Description
When creating a new sample here, the system will automatically open the created sample, but before it does so, the system checks for unsaved changes made to the case and asks the user whether to save, discard or cancel. Thus the info is no longer correct and needed.
Proposed Change
@kwa20 Please double check whether I'm missing something here.