-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow custom views as icons in OnboardingView #28
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #28 +/- ##
=======================================
Coverage 73.72% 73.72%
=======================================
Files 22 22
Lines 1050 1050
=======================================
Hits 774 774
Misses 276 276
Continue to review full report in Codecov by Sentry.
|
f0b65ba
to
dec1aa5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this looks great @vishnuravi!
Good to see that this is a non-breaking change!
I would also suggest to use the chance to directly add the URL link check to this PR.
Similar to the Storage & other Spezi packages, I would suggest to also run the workflow on a schedule: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
Thanks! I added the markdown link checker and set it to a schedule to run on the first of every month. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the improvements! 🚀
# Fix Missing Localized Initializer ## ⚙️ Release Notes - Fixes a missing localized initializer with the new functionality introduced in #28 noted when including it in the template application. ## 📝 Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md).
Allow custom views as icons in OnboardingView
♻️ Current situation & Problem
The
OnboardingView
has areas comprised ofOnboardingInformationView
s. EachOnboardingInformationView
can have an icon, which must be anImage
. However, this means we cannot currently add modifiers to the icon or use other types of views as icons, which limits the customizability.See #27.
⚙️ Release Notes
Added a new initializer in the
Content
struct that accepts anyView
as an icon using@ViewBuilder
.📝 Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: