-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add embedded to playground #4025
Conversation
} set: { newUIStyle in | ||
// If we switch to embedded put style back to vertical and default back to deferred CSC if we are in an intent first integration | ||
if newUIStyle == .embedded { | ||
playgroundController.settings.layout = .vertical |
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.
Even though embedded doesn't use this layout API, I think it makes the most sense to change the toggle to vertical as that's what most resembles embedded.
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.
Is it possible to disable the inapplicable toggles rather than changing their selection?
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.
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.
Switching normal
-> deferred_csc
makes sense.
IMO I don't want it to switch to .vertical
though; that's more confusing than helpful since the value is ignored either way. It should just stay whatever value it was.
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.
🤦 I agree, I thought I had removed that but clearly didn't. Fixed!
Summary
Simulator.Screen.Recording.-.iOS.18.-.2024-09-17.at.11.49.45.mp4
Motivation
Testing
Changelog
N/A