BUG: Stored data and Visualized data incompatability (high priority)
Current: When building a new self-monitoring, if a user navigated to another page: on purpose or with accidental back swipe: when the user returns to the self-monitoring set up, any added questions or changes are still on the page visually. This indicates to the user that the data wasn't lost.
However, when this monitoring is attempted to be sent to the pat it fails because presumably the saved visual state is not actually available for the data transmission.
This is what I have observed on multiple testings and all failures in transmission have been solved by restarting the page/app and building a new monitoring from scratch.
Desired: This is my idea but there could be a smarter way to address this issue that I am open to.
-
When the user navigates to another part of the app in the middle of setting up a self-monitoring the state of the monitoring is set to default - empty again
-
We then need a modal to ask the user if they are sure they want to loose the current self-monitoring when they try to navigate to another page with a partially done self-monitoring