Repository navigation
chore(example): restore Text and Button in examples - #1147
Merged
Merged
Conversation
Member
Author
|
/uitest osui-iag update |
Replace temporary Color, onTapGesture, and onAppear stand-ins with the intended Text and Button views now that both are available. - TransactionExample: restore Text labels and the Animate button. - MatchedGeometryEffectExample: use a Switch button. Keep the switch on appear for animation snapshot tests. - ObservationExample: use buttons for the toggle and counter controls. - AnimatedColorTimelineView: restore Text and Circle. - BreathingColorView: enable the view for OpenSwiftUI. - FlowLayout: use Text for tag chips. - LabelsHiddenModifierUITests: use Text toggle labels.
Kyle-Ye
force-pushed
the
optimize/example
branch
from
October 14, 2026 17:37
c4b45f6 to
6e87644
Compare
Member
Author
|
/uitest osui-iag update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Text, Button, and ForEach are now available, so the examples no longer need their temporary stand-ins:
Colorplaceholders,onTapGestureandonAppeartriggers, and hard-coded subviews.Textlabels and the "Animate" button inTransactionExample.MatchedGeometryEffectExample, with aninitialToggleoption thatMatchedGeometryEffectUITestsenables to start the transition on appear.ObservationExample.TextandCircleviews in the OpenSwiftUI variant ofAnimatedColorTimelineView.BreathingColorViewfor OpenSwiftUI.Texttag chips and aForEachover all tags inFlowLayoutDemo.Texttoggle labels inLabelsHiddenModifierUITests.ColorCodedClockView.