Allow to supply active account details with the AccountConfiguration for previews
:recycle: Current situation & Problem
As of right now the desired way to provide access to the Account object for previewing purposes with active account details, is by creating the Account instance yourself and putting it into the environment.
With the introduction of the new previewWith modifier in Spezi 1.0, we now have a framework-defined way of configuring modules for Previews. Therefore, this PR adds support to configure the AccountConfiguration for previewing purposes.
:gear: Release Notes
Add AccountConfiguration(building:active:configuration:) initializer to easily preview Spezi Account using the new spezi previewWith modifier.
:books: Documentation
Documentation was added.
:white_check_mark: Testing
TBA
:pencil: Code of Conduct & Contributing Guidelines
Allow to supply active account details with the AccountConfiguration for previews
:recycle: Current situation & Problem
As of right now the desired way to provide access to the
Account
object for previewing purposes with active account details, is by creating theAccount
instance yourself and putting it into the environment. With the introduction of the newpreviewWith
modifier in Spezi1.0
, we now have a framework-defined way of configuring modules for Previews. Therefore, this PR adds support to configure theAccountConfiguration
for previewing purposes.:gear: Release Notes
AccountConfiguration(building:active:configuration:)
initializer to easily preview Spezi Account using the new spezipreviewWith
modifier.:books: Documentation
Documentation was added.
: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: