StanfordSpezi / SpeziTemplateApplication

Template application demonstrating the usage of the Stanford Spezi framework.
https://stanfordspezi.github.io/SpeziTemplateApplication
MIT License
97 stars 19 forks source link

Upgrade to the latest Spezi 1.0 releases #60

Closed Supereg closed 8 months ago

Supereg commented 8 months ago

Upgrade to the latest Spezi 1.0 releases

:recycle: Current situation & Problem

This PR upgrades the template app to the lates 1.0 releases of the Spezi framework ecosystem. Particularly, we embrace usage of the new previewWith modifier, removed some obsolete code and made sure that all SwiftUI Previews work.

:gear: Release Notes

:books: Documentation

TBA

:white_check_mark: Testing

TBA

: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 8 months ago

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (d590f78) 80.65% compared to head (07bba35) 80.54%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60/graphs/tree.svg?width=650&height=150&src=pr&token=6EPKiz2l15&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi)](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) ```diff @@ Coverage Diff @@ ## main #60 +/- ## ========================================== - Coverage 80.65% 80.54% -0.11% ========================================== Files 33 31 -2 Lines 961 976 +15 ========================================== + Hits 775 786 +11 - Misses 186 190 +4 ``` | [Files](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) | Coverage Δ | | |---|---|---| | [TemplateApplication/Account/AccountSheet.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9BY2NvdW50L0FjY291bnRTaGVldC5zd2lmdA==) | `95.66% <ø> (ø)` | | | [...plateApplication/Contributions/PackageHelper.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9Db250cmlidXRpb25zL1BhY2thZ2VIZWxwZXIuc3dpZnQ=) | `63.64% <ø> (ø)` | | | [TemplateApplication/Home.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9Ib21lLnN3aWZ0) | `100.00% <ø> (ø)` | | | [TemplateApplication/MockUpload/MockUpload.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9Nb2NrVXBsb2FkL01vY2tVcGxvYWQuc3dpZnQ=) | `92.31% <ø> (ø)` | | | [...lateApplication/Onboarding/AccountOnboarding.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9PbmJvYXJkaW5nL0FjY291bnRPbmJvYXJkaW5nLnN3aWZ0) | `88.89% <ø> (ø)` | | | [TemplateApplication/Onboarding/Consent.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9PbmJvYXJkaW5nL0NvbnNlbnQuc3dpZnQ=) | `94.12% <ø> (ø)` | | | [...eApplication/Onboarding/HealthKitPermissions.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9PbmJvYXJkaW5nL0hlYWx0aEtpdFBlcm1pc3Npb25zLnN3aWZ0) | `95.56% <100.00%> (ø)` | | | [...ateApplication/Onboarding/InterestingModules.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9PbmJvYXJkaW5nL0ludGVyZXN0aW5nTW9kdWxlcy5zd2lmdA==) | `100.00% <ø> (ø)` | | | [...plication/Onboarding/NotificationPermissions.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9PbmJvYXJkaW5nL05vdGlmaWNhdGlvblBlcm1pc3Npb25zLnN3aWZ0) | `95.56% <100.00%> (ø)` | | | [...emplateApplication/Onboarding/OnboardingFlow.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9PbmJvYXJkaW5nL09uYm9hcmRpbmdGbG93LnN3aWZ0) | `97.23% <ø> (ø)` | | | ... and [7 more](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?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/SpeziTemplateApplication/pull/60?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/SpeziTemplateApplication/pull/60?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi). Last update [d590f78...07bba35](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/60?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).