Skip to content

chore(example): restore Text and Button in examples - #1147

Merged
Kyle-Ye merged 2 commits into
mainfrom
optimize/example
Oct 14, 2026
Merged

Kyle-Ye merged 2 commits into
mainfrom
optimize/example

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 14, 2026

Copy link
Copy Markdown
Member

Summary

Text, Button, and ForEach are now available, so the examples no longer need their temporary stand-ins: Color placeholders, onTapGesture and onAppear triggers, and hard-coded subviews.

  • Restore the Text labels and the "Animate" button in TransactionExample.
  • Use a "Switch" button in MatchedGeometryEffectExample, with an initialToggle option that MatchedGeometryEffectUITests enables to start the transition on appear.
  • Use buttons for the toggle and counter controls in ObservationExample.
  • Restore the Text and Circle views in the OpenSwiftUI variant of AnimatedColorTimelineView.
  • Enable BreathingColorView for OpenSwiftUI.
  • Use Text tag chips and a ForEach over all tags in FlowLayoutDemo.
  • Use Text toggle labels in LabelsHiddenModifierUITests.
  • Correct the availability note in ColorCodedClockView.

@Kyle-Ye

Kyle-Ye commented Oct 14, 2026

Copy link
Copy Markdown
Member Author

/uitest osui-iag update

@github-actions github-actions Bot added area: example Example apps, previews, sample projects, screenshots, or demo assets. type: maintenance Refactor, cleanup, dependency bump, NFC, or internal maintenance. labels Oct 14, 2026
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

Kyle-Ye commented Oct 14, 2026

Copy link
Copy Markdown
Member Author

/uitest osui-iag update

@Kyle-Ye
Kyle-Ye merged commit a60cd3e into main Oct 14, 2026
3 checks passed
@Kyle-Ye
Kyle-Ye deleted the optimize/example branch October 14, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: example Example apps, previews, sample projects, screenshots, or demo assets. type: maintenance Refactor, cleanup, dependency bump, NFC, or internal maintenance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant