opensrp / fhircore

FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
https://smartregister.org
Apache License 2.0
54 stars 41 forks source link

Updating Sync button on the Navigation menu based on Sync Status #3294

Closed Gental-Giant closed 2 months ago

Gental-Giant commented 4 months ago

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.

Additional context

Acceptance criteria

Area path

  1. Login to the app
  2. Open the Navigation bar
  3. If there is no unsynced data, sync button should appear as on image (a)
  4. If there are unsynced data, the sync button should appear as on image (b)

Implementation plan (For Engineers) The plan for implementing the solution e.g. via a description or a checklist for the various ordered tasks that will need to be completed. i.e. Describe how you intend to solve the problem

AnnieMungai commented 2 months ago

Tested with https://github.com/onaio/fhir-resources/releases/tag/v2.0.0-opensrp-eusm-rc5 LGTM!