Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add click to sync option into demo app #605

Closed
fredhersch opened this issue Jun 30, 2021 · 1 comment · Fixed by #645
Closed

Add click to sync option into demo app #605

fredhersch opened this issue Jun 30, 2021 · 1 comment · Fixed by #645
Assignees
Labels
P1 High priority issue type:enhancement New feature or request

Comments

@fredhersch
Copy link
Collaborator

User story: As a logged in user I can choose to sync the mobile client with a FHIR server and visually see the status changes

Steps:

  • User is logged in
  • Clicks on the settings which opens a drawer menu
  • From the drawer menu, user can see sync option and last sync'd time/date
  • User clicks the sync option which starts the sync process. The status changes visually by showing a spinner (or other) and continues in the background

End state:

  • On completion, shows a status change (complete) and summary of # records syncd
  • On error, will attempt to retry until it either completes or fails. Status should reflect this
@fredhersch fredhersch added the type:enhancement New feature or request label Jun 30, 2021
@fredhersch fredhersch added this to To do in Demo applications via automation Jun 30, 2021
@fredhersch fredhersch added the P1 High priority issue label Jul 5, 2021
@Tarun-Bhardwaj Tarun-Bhardwaj added this to the Q3 2021 milestone Jul 6, 2021
@aditya-07
Copy link
Collaborator

@fredhersch @jingtang10 Since there is no way as of now to know the state of Sync from reference app, I am adding just a sync button on the Top bar. Clicking the button starts a Sync job and shows a Snackbar with sync message at the bottom of the screen and disappears after sometime . We can implement the Drawer with the UI explained in the ticket once we have an API to know the sync state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High priority issue type:enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants