Skip to content
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

Feature/macro #22

Merged
merged 17 commits into from
Feb 22, 2024
Merged

Feature/macro #22

merged 17 commits into from
Feb 22, 2024

Conversation

beyama
Copy link
Collaborator

@beyama beyama commented Feb 19, 2024

No description provided.

@beyama beyama changed the base branch from main to feature/remove-background-from-layout-and-context-from-builder February 19, 2024 15:15
@beyama beyama marked this pull request as ready for review February 20, 2024 09:30
…ntext-from-builder

# Conflicts:
#	Example/Example App/StreamDeckLayoutView.swift
#	Sources/StreamDeckKit/Views/StreamDeckLayout.swift
#	Sources/StreamDeckSimulator/Views/StreamDeckSimulatorView.swift
#	Tests/StreamDeckSDKTests/Helper/TestViews.swift
…builder' into feature/macro

# Conflicts:
#	Package.swift
#	Tests/StreamDeckSDKTests/Helper/TestViews.swift
Base automatically changed from feature/remove-background-from-layout-and-context-from-builder to main February 20, 2024 11:01
# Conflicts:
#	Sources/StreamDeckKit/Layout/StreamDeckViewContext.swift
#	Tests/StreamDeckSDKTests/Helper/TestViews.swift
Copy link
Collaborator

@r-dent r-dent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works fine for me. A bit more documentation is IMHO still needed.

Sources/StreamDeckMacro/StreamDeckMacro.swift Outdated Show resolved Hide resolved
Sources/StreamDeckMacro/StreamDeckMacro.swift Outdated Show resolved Hide resolved
@@ -32,12 +44,6 @@ public protocol StreamDeckView: View {
@MainActor @ViewBuilder var streamDeckBody: Self.Content { get }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add documentation for streamDeckBody and context properties.

* Documentation for Stream Deck Layout

* Move StreamDeckSession.setUp into PreviewView of Simulator

* Renamings

* Add two examples: Stateless and Stateful

* Add ExampleDataModel to share app state with stream deck layout

* Code structure

* Extend EnvironmentValues for ExampleDataModel, and In Simulator.PreviewView render only the view without the using the session

* Add an example for an animated StreamDeckLayout

* Renaming

* Simplify background colors of dial area

* Update layout docs

* Update some code comments

---------

Co-authored-by: Christiane Göhring <[email protected]>
Co-authored-by: Roman Schlagowsky <[email protected]>
Co-authored-by: Alexander Jentz <[email protected]>
@beyama beyama merged commit f11c908 into main Feb 22, 2024
@beyama beyama deleted the feature/macro branch February 22, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants