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

Practitioner Details implementation #890

Merged
merged 86 commits into from
Aug 24, 2022
Merged

Conversation

RaaziaTarique
Copy link
Member

@RaaziaTarique RaaziaTarique commented Dec 20, 2021

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

Fixes #857

Type
Choose one: Feature

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

@RaaziaTarique RaaziaTarique marked this pull request as draft December 20, 2021 12:16
@codecov
Copy link

codecov bot commented Dec 20, 2021

Codecov Report

Merging #890 (97623e2) into main (ed887e9) will decrease coverage by 0.09%.
The diff coverage is 58.69%.

@@             Coverage Diff              @@
##               main     #890      +/-   ##
============================================
- Coverage     52.20%   52.10%   -0.10%     
+ Complexity      659      656       -3     
============================================
  Files           192      194       +2     
  Lines          6798     6859      +61     
  Branches       1216     1225       +9     
============================================
+ Hits           3549     3574      +25     
- Misses         2647     2688      +41     
+ Partials        602      597       -5     
Flag Coverage Δ
engine 64.71% <58.87%> (-0.81%) ⬇️
quest 33.89% <57.14%> (+0.65%) ⬆️

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

Impacted Files Coverage Δ
...core/engine/configuration/ConfigurationRegistry.kt 50.94% <0.00%> (ø)
...core/engine/data/remote/model/response/UserInfo.kt 0.00% <0.00%> (-85.72%) ⬇️
...er/fhircore/quest/ui/register/RegisterViewModel.kt 0.00% <0.00%> (ø)
.../quest/ui/report/measure/MeasureReportViewModel.kt 17.77% <20.00%> (+0.09%) ⬆️
...fhircore/engine/configuration/app/ConfigService.kt 84.78% <25.00%> (-3.86%) ⬇️
...ister/fhircore/engine/auth/AccountAuthenticator.kt 69.23% <33.33%> (-1.79%) ⬇️
...er/fhircore/engine/util/SharedPreferencesHelper.kt 70.96% <40.00%> (-14.04%) ⬇️
...rtregister/fhircore/engine/sync/SyncBroadcaster.kt 48.14% <50.00%> (-44.16%) ⬇️
...core/engine/ui/userprofile/UserProfileViewModel.kt 90.47% <50.00%> (ø)
...egister/fhircore/engine/ui/login/LoginViewModel.kt 66.10% <56.81%> (-1.23%) ⬇️
... and 15 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@RaaziaTarique RaaziaTarique self-assigned this Dec 23, 2021
- Update LoginViewModel.kt to accommodate runOneTimeSync method
- Update UserResponse.kt to accommodate all fields of getUserInfo call.
- Add sample_practitioner_payload
# Conflicts:
#	android/engine/src/main/java/org/smartregister/fhircore/engine/ui/login/LoginViewModel.kt
# Conflicts:
#	android/engine/src/test/java/org/smartregister/fhircore/engine/ui/login/LoginActivityTest.kt
#	android/engine/src/test/java/org/smartregister/fhircore/engine/ui/login/LoginViewModelTest.kt
- Write helper a method to fetch all the practitioner-related resources.
@FikriMilano FikriMilano force-pushed the 857_practitioner_details branch from fbbe7e4 to a4248d7 Compare August 19, 2022 12:05
@FikriMilano FikriMilano changed the title 857 practitioner details Practitioner Details implementation Aug 19, 2022
dubdabasoduba
dubdabasoduba previously approved these changes Aug 24, 2022
@dubdabasoduba dubdabasoduba self-requested a review August 24, 2022 13:00
@FikriMilano FikriMilano merged commit ddbcf13 into main Aug 24, 2022
@FikriMilano FikriMilano deleted the 857_practitioner_details branch August 24, 2022 13:49
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.

[Client Side] implement the practitioner details endpoint.
6 participants