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

Implement functionality to skip login and data sync #3673

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ellykits
Copy link
Collaborator

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

Fixes [link to issue]

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

@ellykits
Copy link
Collaborator Author

To be done:

  • Prompt user to reset data if login and sync are re-enabled by setting SKIP_AUTHENTICATION to true.

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 38.9%. Comparing base (becf27f) to head (01d5526).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##              main   #3673   +/-   ##
=======================================
  Coverage     38.9%   38.9%           
+ Complexity    1163    1161    -2     
=======================================
  Files          284     284           
  Lines        15078   15033   -45     
  Branches      2671    2659   -12     
=======================================
- Hits          5867    5858    -9     
+ Misses        8365    8333   -32     
+ Partials       846     842    -4     
Flag Coverage Δ
engine 62.5% <ø> (ø)
geowidget 16.0% <ø> (ø)

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

Files with missing lines Coverage Δ
...fhircore/quest/ui/appsetting/AppSettingActivity.kt 0.0% <ø> (ø)
...hircore/quest/ui/appsetting/AppSettingViewModel.kt 64.1% <ø> (+0.9%) ⬆️
...tregister/fhircore/quest/ui/login/LoginActivity.kt 9.4% <ø> (ø)
...register/fhircore/quest/ui/main/AppMainActivity.kt 11.9% <ø> (-1.2%) ⬇️
...egister/fhircore/quest/ui/main/AppMainViewModel.kt 71.0% <ø> (+2.2%) ⬆️
...ter/fhircore/quest/ui/main/components/AppDrawer.kt 0.0% <ø> (ø)
...register/fhircore/quest/ui/pin/PinLoginActivity.kt 11.5% <ø> (+3.4%) ⬆️
...ister/fhircore/quest/ui/register/RegisterScreen.kt 0.0% <ø> (ø)
...ircore/quest/ui/usersetting/UserSettingFragment.kt 0.0% <ø> (ø)

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.

1 participant