Resolve "BUG: Stored data and Visualized data incompatability (high priority)"
Closes #410 (closed)
Please note: The scope of this MR changed somewhat after a discussion about the underlying problems for the reported bug (see discussion in #410 (closed)). The data transmission problem has been fixed here, but the commit has already been cherry picked into main branch, so it does not appear in the changes (see here). Besides that this MR
- introduces dirty flag and proper reset functionality for the
RccMonitoringSetupService
- adds a
canDeactivateGuard
to the monitoring setup. This displays a warning when the service is flagged dirty and the user attempts to navigate to another route within the app. If they confirm the service will be reset. - adds
beforeunload
event handling. This displays a warning when the service is flagged dirty and the user attempts to navigate away from the app or realoads the page. The displayed message is determined by the browser - makes use of the dirty flag for display state management
Edited by Carlos Sanchez