Closed Gental-Giant closed 1 month ago
@Gental-Giant @AnnieMungai @HenryRae Do you mind giving a use case on why we would want to cancel sync?
This is based on the UI Mocks above
These are very general, not project based.
To add to @HenryRae second point,
- During network issues, one might want to cancel ongoing sync to avoid the long wait and retry the next day.
Sometimes based on network connectivity users switch networks. Instead of waiting for sync to fail then retry might make more sense for users to cancel and retry.
Overall, I think having the option to cancel gives users the sense of being in control.
@Gental-Giant @AnnieMungai @HenryRae Do you mind giving a use case on why we would want to cancel sync?
This is based on the UI Mocks above
@dubdabasoduba Anticipated use case in the field:
However, all these scenarios beg the question - why not simply disconnect the device from the internet? Note! in some instances, the users are prevented from conducting any admin tasks on the device including connecting and disconnecting from internet etc. This is an edge case.
PM comments
EUSM 2.0.0.Rc4
sync completed
message is shown.sync completed with errors
message is shown.
Problem we are trying to solve Currently, when a user is conducting sync, initial or subsequent, they are hard pressed to know the progress of the sync until it is completed. This does not make for a good user experience; the user may abandon the sync process or sometimes think there is somethign wrong with the application; to them, it seems like there is nothing happening.
User Story As a user, I want to see the sync progress when interacting with the app. I want to decide whether to proceed with sync as I do other things or simply wait for it to complete. I want to be aware whether there are processes happening on the app even when it seems like nothing is happening. This is especially necessary when I have a lot of data on my device that may take some time to complete syncing.
Describe the feature request. We would like to update the UI/UX for manual sync. This would be done by updating the UI to allow users to know when they have unsynced data, and track sync progress and final status.
This ticket is to specifically add tracking and updating the subsequent sync status.
Implementation
[ ] When the sync button is tapped, image a (see screenshot below)
[x] Sync progress component should:
[ ] When the sync component is minimized show:
[ ] When the cancel button is tapped, display a confirmation dialog:
[ ] When sync is complete (All data has been synced to the server):
Acceptance criteria All the items above work as they should.
Area path
Implementation plan (For Engineers) The plan for implementing the solution e.g. via a description or a check list for the various ordered tasks that will need to be completed. i.e. Describe how you intend to solve the problem