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
50 stars 39 forks source link

Sync progress enhancement work. #3332

Open Lentumunai-Mark opened 2 weeks ago

Lentumunai-Mark commented 2 weeks ago

IMPORTANT: Where possible all PRs must be linked to a Github issue

Fixes #3295 Fixes #3294

Engineer Checklist

Code Reviewer Checklist

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 4.09357% with 328 lines in your changes missing coverage. Please review.

Project coverage is 27.7%. Comparing base (ac82739) to head (2e9acd8). Report is 106 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/opensrp/fhircore/pull/3332/graphs/tree.svg?width=650&height=150&src=pr&token=IJUTHZUGGH&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp)](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp) ```diff @@ Coverage Diff @@ ## main #3332 +/- ## ========================================= - Coverage 29.6% 27.7% -2.0% - Complexity 658 721 +63 ========================================= Files 239 266 +27 Lines 11204 13013 +1809 Branches 1948 2319 +371 ========================================= + Hits 3323 3610 +287 - Misses 7447 8933 +1486 - Partials 434 470 +36 ``` | [Flag](https://app.codecov.io/gh/opensrp/fhircore/pull/3332/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp) | Coverage Δ | | |---|---|---| | [engine](https://app.codecov.io/gh/opensrp/fhircore/pull/3332/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp) | `65.0% <100.0%> (-1.2%)` | :arrow_down: | | [geowidget](https://app.codecov.io/gh/opensrp/fhircore/pull/3332/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp) | `18.3% <ø> (-28.9%)` | :arrow_down: | | [quest](https://app.codecov.io/gh/opensrp/fhircore/pull/3332/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp) | `4.8% <3.8%> (-0.7%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp) | Coverage Δ | | |---|---|---| | [...g/smartregister/fhircore/engine/ui/theme/Colors.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fengine%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fengine%2Fui%2Ftheme%2FColors.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9lbmdpbmUvc3JjL21haW4vamF2YS9vcmcvc21hcnRyZWdpc3Rlci9maGlyY29yZS9lbmdpbmUvdWkvdGhlbWUvQ29sb3JzLmt0) | `97.4% <100.0%> (+1.0%)` | :arrow_up: | | [...tregister/fhircore/quest/ui/main/AppMainUiState.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fquest%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fquest%2Fui%2Fmain%2FAppMainUiState.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9xdWVzdC9zcmMvbWFpbi9qYXZhL29yZy9zbWFydHJlZ2lzdGVyL2ZoaXJjb3JlL3F1ZXN0L3VpL21haW4vQXBwTWFpblVpU3RhdGUua3Q=) | `97.2% <100.0%> (+1.4%)` | :arrow_up: | | [...artregister/fhircore/quest/ui/main/AppMainEvent.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fquest%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fquest%2Fui%2Fmain%2FAppMainEvent.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9xdWVzdC9zcmMvbWFpbi9qYXZhL29yZy9zbWFydHJlZ2lzdGVyL2ZoaXJjb3JlL3F1ZXN0L3VpL21haW4vQXBwTWFpbkV2ZW50Lmt0) | `94.4% <0.0%> (-5.6%)` | :arrow_down: | | [...register/fhircore/quest/ui/main/AppMainActivity.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fquest%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fquest%2Fui%2Fmain%2FAppMainActivity.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9xdWVzdC9zcmMvbWFpbi9qYXZhL29yZy9zbWFydHJlZ2lzdGVyL2ZoaXJjb3JlL3F1ZXN0L3VpL21haW4vQXBwTWFpbkFjdGl2aXR5Lmt0) | `0.0% <0.0%> (-2.5%)` | :arrow_down: | | [...ter/fhircore/quest/ui/register/RegisterFragment.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fquest%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fquest%2Fui%2Fregister%2FRegisterFragment.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9xdWVzdC9zcmMvbWFpbi9qYXZhL29yZy9zbWFydHJlZ2lzdGVyL2ZoaXJjb3JlL3F1ZXN0L3VpL3JlZ2lzdGVyL1JlZ2lzdGVyRnJhZ21lbnQua3Q=) | `0.0% <0.0%> (-5.7%)` | :arrow_down: | | [...egister/fhircore/quest/ui/main/AppMainViewModel.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fquest%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fquest%2Fui%2Fmain%2FAppMainViewModel.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9xdWVzdC9zcmMvbWFpbi9qYXZhL29yZy9zbWFydHJlZ2lzdGVyL2ZoaXJjb3JlL3F1ZXN0L3VpL21haW4vQXBwTWFpblZpZXdNb2RlbC5rdA==) | `4.5% <0.0%> (+0.1%)` | :arrow_up: | | [...ter/fhircore/quest/ui/shared/components/SyncBar.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fquest%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fquest%2Fui%2Fshared%2Fcomponents%2FSyncBar.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9xdWVzdC9zcmMvbWFpbi9qYXZhL29yZy9zbWFydHJlZ2lzdGVyL2ZoaXJjb3JlL3F1ZXN0L3VpL3NoYXJlZC9jb21wb25lbnRzL1N5bmNCYXIua3Q=) | `0.0% <0.0%> (ø)` | | | [...ter/fhircore/quest/ui/main/components/AppDrawer.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fquest%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fquest%2Fui%2Fmain%2Fcomponents%2FAppDrawer.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9xdWVzdC9zcmMvbWFpbi9qYXZhL29yZy9zbWFydHJlZ2lzdGVyL2ZoaXJjb3JlL3F1ZXN0L3VpL21haW4vY29tcG9uZW50cy9BcHBEcmF3ZXIua3Q=) | `0.0% <0.0%> (ø)` | | | [...ister/fhircore/quest/ui/register/RegisterScreen.kt](https://app.codecov.io/gh/opensrp/fhircore/pull/3332?src=pr&el=tree&filepath=android%2Fquest%2Fsrc%2Fmain%2Fjava%2Forg%2Fsmartregister%2Ffhircore%2Fquest%2Fui%2Fregister%2FRegisterScreen.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp#diff-YW5kcm9pZC9xdWVzdC9zcmMvbWFpbi9qYXZhL29yZy9zbWFydHJlZ2lzdGVyL2ZoaXJjb3JlL3F1ZXN0L3VpL3JlZ2lzdGVyL1JlZ2lzdGVyU2NyZWVuLmt0) | `0.0% <0.0%> (ø)` | | ... and [36 files with indirect coverage changes](https://app.codecov.io/gh/opensrp/fhircore/pull/3332/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensrp)
ellykits commented 1 week ago

@Lentumunai-Mark Can you share screenshot or animated gif for this?