You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user opens an observation, if it belongs to them, they should be able edit that observation. When the observation does belong to them, the top right icon should be the edit icon. Clicking on the edit icon should navigate user to the ObservationEdit Screen.
In ObservationHeaderRight,w hile deviceInfoHook is loading, show a UIActivityIndicator in place of any icon.
If the observation belongs to user, show the editIcon. The user should be able to press this icon and be navigated to the ObservationEdit Screen
If the observation does not belong to the user, show the syncIcon. User should not be able to click this screen
The ObservationEdit Screen using persisted state to hold all the data. Therefore when a user is editting an observation we put all the data into peristed state using editSavedObservation **Once the user is navigated to the ObservationEdit Screen and the observation has been passed to the editSavedObservation, the logic for updating the observation should already be implemented. **
Test that a user is able to update the observation and that the edits are saved
Test that a user can close the app while editting an observation, and when re-opening the app, they are navigated back to the edit observation screen
Test that a user will see a warning asking them if they want to not save their changes if they try to press the back button to navigate away from the screen
The text was updated successfully, but these errors were encountered:
When a user opens an observation, if it belongs to them, they should be able edit that observation. When the observation does belong to them, the top right icon should be the edit icon. Clicking on the edit icon should navigate user to the ObservationEdit Screen.
To Do
ObservationHeaderRight
,w hiledeviceInfoHook
is loading, show a UIActivityIndicator in place of any icon.ObservationEdit
ScreenObservationEdit
Screen using persisted state to hold all the data. Therefore when a user is editting an observation we put all the data into peristed state using editSavedObservation **Once the user is navigated to theObservationEdit
Screen and the observation has been passed to the editSavedObservation, the logic for updating the observation should already be implemented. **The text was updated successfully, but these errors were encountered: