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

Support storing arbitrary account details #58

Closed Supereg closed 9 months ago

Supereg commented 9 months ago

Support storing arbitrary account details

:recycle: Current situation & Problem

Based on https://github.com/StanfordSpezi/SpeziFirebase/pull/25, this PR adds support for storing arbitrary account values of user accounts. To demonstrate this we add the genderIdentity and birthday values to demonstrate this feature.

:gear: Release Notes

:books: Documentation

--

:white_check_mark: Testing

Tests were added to verify basic functionality.

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

Codecov Report

Merging #58 (245080b) into main (4623d82) will increase coverage by 0.16%. The diff coverage is 84.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/58/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/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) ```diff @@ Coverage Diff @@ ## main #58 +/- ## ========================================== + Coverage 80.50% 80.65% +0.16% ========================================== Files 33 33 Lines 938 961 +23 ========================================== + Hits 755 775 +20 - Misses 183 186 +3 ``` | [Files](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) | Coverage Δ | | |---|---|---| | [TemplateApplication/TemplateAppDelegate.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9UZW1wbGF0ZUFwcERlbGVnYXRlLnN3aWZ0) | `96.37% <100.00%> (+0.29%)` | :arrow_up: | | [...plateApplication/TemplateApplicationStandard.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-VGVtcGxhdGVBcHBsaWNhdGlvbi9UZW1wbGF0ZUFwcGxpY2F0aW9uU3RhbmRhcmQuc3dpZnQ=) | `39.84% <80.00%> (+8.11%)` | :arrow_up: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/58?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/58?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi). Last update [4623d82...245080b](https://app.codecov.io/gh/StanfordSpezi/SpeziTemplateApplication/pull/58?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).