StanfordSpezi / SpeziKt

Kotlin & Android Version of the Stanford Spezi Framework
http://spezi.health/SpeziKt/
MIT License
7 stars 1 forks source link

Feature: educational videos #54

Closed Basler182 closed 1 day ago

Basler182 commented 1 week ago

Feature: educational videos

:gear: Release Notes

image

image

image

:white_check_mark: Testing

further tests will be added as soon as the basic architecture has been confirmed

:pencil: Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 49.18033% with 279 lines in your changes missing coverage. Please review.

Project coverage is 43.67%. Comparing base (cd5e155) to head (27f6e14).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54/graphs/tree.svg?width=650&height=150&src=pr&token=rrQTC1h5A7&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi)](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) ```diff @@ Coverage Diff @@ ## main #54 +/- ## ============================================ + Coverage 42.84% 43.67% +0.83% - Complexity 296 310 +14 ============================================ Files 111 125 +14 Lines 3275 3813 +538 Branches 470 552 +82 ============================================ + Hits 1403 1665 +262 - Misses 1770 1999 +229 - Partials 102 149 +47 ``` | [Flag](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) | Coverage Δ | | |---|---|---| | [uitests](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) | `35.48% <42.45%> (+2.01%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) | `26.73% <13.56%> (-1.93%)` | :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=StanfordSpezi#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) | Coverage Δ | | |---|---|---| | [...lin/edu/stanford/bdh/engagehf/navigation/Routes.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=app%2Fsrc%2Fmain%2Fkotlin%2Fedu%2Fstanford%2Fbdh%2Fengagehf%2Fnavigation%2FRoutes.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-YXBwL3NyYy9tYWluL2tvdGxpbi9lZHUvc3RhbmZvcmQvYmRoL2VuZ2FnZWhmL25hdmlnYXRpb24vUm91dGVzLmt0) | `100.00% <100.00%> (ø)` | | | [.../bdh/engagehf/navigation/data/models/AppUiState.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=app%2Fsrc%2Fmain%2Fkotlin%2Fedu%2Fstanford%2Fbdh%2Fengagehf%2Fnavigation%2Fdata%2Fmodels%2FAppUiState.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-YXBwL3NyYy9tYWluL2tvdGxpbi9lZHUvc3RhbmZvcmQvYmRoL2VuZ2FnZWhmL25hdmlnYXRpb24vZGF0YS9tb2RlbHMvQXBwVWlTdGF0ZS5rdA==) | `100.00% <100.00%> (ø)` | | | [...u/stanford/spezi/core/design/theme/SpeziKtTheme.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=core%2Fdesign%2Fsrc%2Fmain%2Fkotlin%2Fedu%2Fstanford%2Fspezi%2Fcore%2Fdesign%2Ftheme%2FSpeziKtTheme.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-Y29yZS9kZXNpZ24vc3JjL21haW4va290bGluL2VkdS9zdGFuZm9yZC9zcGV6aS9jb3JlL2Rlc2lnbi90aGVtZS9TcGV6aUt0VGhlbWUua3Q=) | `80.44% <100.00%> (ø)` | | | [.../spezi/modules/contact/component/NavigationCard.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=modules%2Fcontact%2Fsrc%2Fmain%2Fkotlin%2Fedu%2Fstanford%2Fspezi%2Fmodules%2Fcontact%2Fcomponent%2FNavigationCard.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-bW9kdWxlcy9jb250YWN0L3NyYy9tYWluL2tvdGxpbi9lZHUvc3RhbmZvcmQvc3BlemkvbW9kdWxlcy9jb250YWN0L2NvbXBvbmVudC9OYXZpZ2F0aW9uQ2FyZC5rdA==) | `74.20% <100.00%> (ø)` | | | [...pezi/modules/education/EducationNavigationEvent.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=modules%2Feducation%2Fsrc%2Fmain%2Fjava%2Fedu%2Fstanford%2Fspezi%2Fmodules%2Feducation%2FEducationNavigationEvent.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-bW9kdWxlcy9lZHVjYXRpb24vc3JjL21haW4vamF2YS9lZHUvc3RhbmZvcmQvc3BlemkvbW9kdWxlcy9lZHVjYXRpb24vRWR1Y2F0aW9uTmF2aWdhdGlvbkV2ZW50Lmt0) | `100.00% <100.00%> (ø)` | | | [...edu/stanford/bdh/engagehf/MainActivityViewModel.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=app%2Fsrc%2Fmain%2Fkotlin%2Fedu%2Fstanford%2Fbdh%2Fengagehf%2FMainActivityViewModel.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-YXBwL3NyYy9tYWluL2tvdGxpbi9lZHUvc3RhbmZvcmQvYmRoL2VuZ2FnZWhmL01haW5BY3Rpdml0eVZpZXdNb2RlbC5rdA==) | `90.70% <96.78%> (+21.47%)` | :arrow_up: | | [...stanford/bdh/engagehf/education/EducationModule.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=app%2Fsrc%2Fmain%2Fkotlin%2Fedu%2Fstanford%2Fbdh%2Fengagehf%2Feducation%2FEducationModule.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-YXBwL3NyYy9tYWluL2tvdGxpbi9lZHUvc3RhbmZvcmQvYmRoL2VuZ2FnZWhmL2VkdWNhdGlvbi9FZHVjYXRpb25Nb2R1bGUua3Q=) | `0.00% <0.00%> (ø)` | | | [...rd/bdh/engagehf/onboarding/EngageConsentManager.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=app%2Fsrc%2Fmain%2Fkotlin%2Fedu%2Fstanford%2Fbdh%2Fengagehf%2Fonboarding%2FEngageConsentManager.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-YXBwL3NyYy9tYWluL2tvdGxpbi9lZHUvc3RhbmZvcmQvYmRoL2VuZ2FnZWhmL29uYm9hcmRpbmcvRW5nYWdlQ29uc2VudE1hbmFnZXIua3Q=) | `54.55% <0.00%> (ø)` | | | [...ezi/modules/contact/component/ContactOptionCard.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=modules%2Fcontact%2Fsrc%2Fmain%2Fkotlin%2Fedu%2Fstanford%2Fspezi%2Fmodules%2Fcontact%2Fcomponent%2FContactOptionCard.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-bW9kdWxlcy9jb250YWN0L3NyYy9tYWluL2tvdGxpbi9lZHUvc3RhbmZvcmQvc3BlemkvbW9kdWxlcy9jb250YWN0L2NvbXBvbmVudC9Db250YWN0T3B0aW9uQ2FyZC5rdA==) | `50.00% <0.00%> (ø)` | | | [...spezi/modules/education/videos/EducationUiState.kt](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree&filepath=modules%2Feducation%2Fsrc%2Fmain%2Fjava%2Fedu%2Fstanford%2Fspezi%2Fmodules%2Feducation%2Fvideos%2FEducationUiState.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-bW9kdWxlcy9lZHVjYXRpb24vc3JjL21haW4vamF2YS9lZHUvc3RhbmZvcmQvc3BlemkvbW9kdWxlcy9lZHVjYXRpb24vdmlkZW9zL0VkdWNhdGlvblVpU3RhdGUua3Q=) | `94.45% <94.45%> (ø)` | | | ... and [13 more](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi). Last update [cd5e155...27f6e14](https://app.codecov.io/gh/StanfordSpezi/SpeziKt/pull/54?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi).