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

Migration of Primitive Datatypes from SharedPreferences to PreferenceDataStore #3205

Draft
wants to merge 46 commits into
base: main
Choose a base branch
from

Conversation

DebbieArita
Copy link
Contributor

@DebbieArita DebbieArita commented Apr 18, 2024

Co-authored-by: Brandy [email protected]
Co-authored-by: Debbie [email protected]

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

Fixes #2930

Engineer Checklist

  • I have written Unit tests for any new feature(s) and edge cases for bug fixes
  • I have added any strings visible on UI components to the strings.xml file
  • I have updated the CHANGELOG.md file for any notable changes to the codebase
  • I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
  • I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app
  • I have checked that this PR does NOT introduce breaking changes that require an update to Content and/or Configs? If it does add a sample here or a link to exactly what changes need to be made to the content.

Code Reviewer Checklist

  • I have verified Unit tests have been written for any new feature(s) and edge cases
  • I have verified any strings visible on UI components are in the strings.xml file
  • I have verifed the CHANGELOG.md file has any notable changes to the codebase
  • I have verified the solution has been implemented in a configurable and generic way for reuseable components
  • I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

@DebbieArita DebbieArita marked this pull request as draft April 18, 2024 15:09
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.4%. Comparing base (e83bd59) to head (37b2723).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##              main   #3205    +/-   ##
========================================
  Coverage     27.3%   27.4%            
+ Complexity     786     777     -9     
========================================
  Files          282     282            
  Lines        14697   14532   -165     
  Branches      2635    2616    -19     
========================================
- Hits          4022    3985    -37     
+ Misses       10129   10007   -122     
+ Partials       546     540     -6     
Flag Coverage Δ
geowidget 16.0% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...core/engine/configuration/ConfigurationRegistry.kt 68.2% <ø> (-0.2%) ⬇️
...er/fhircore/engine/data/local/DefaultRepository.kt 58.4% <ø> (-0.2%) ⬇️
...e/engine/data/local/register/RegisterRepository.kt 69.5% <ø> (-0.9%) ⬇️
...r/fhircore/engine/datastore/PreferenceDataStore.kt 66.6% <ø> (-2.6%) ⬇️
...gister/fhircore/engine/datastore/ProtoDataStore.kt 65.3% <ø> (ø)
...gister/fhircore/engine/rulesengine/RulesFactory.kt 66.4% <ø> (-1.1%) ⬇️
...gister/fhircore/engine/sync/AppTimeStampContext.kt 100.0% <ø> (ø)
...gister/fhircore/engine/sync/SyncListenerManager.kt 95.2% <ø> (-0.3%) ⬇️
...fhircore/engine/task/FhirCompleteCarePlanWorker.kt 70.7% <ø> (-3.2%) ⬇️
...ircore/engine/ui/base/BaseMultiLanguageActivity.kt 0.0% <ø> (ø)
... and 12 more
---- 🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate SharedPreferences to DataStore
3 participants