Skip to content

feat: implement content transition APIs and backend descriptors - #1237

Merged
Kyle-Ye merged 7 commits into
mainfrom
feature/content_transition
Oct 31, 2026
Merged

Kyle-Ye merged 7 commits into
mainfrom
feature/content_transition

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Summary

Close #1206.

  • Implement named, custom, and numeric content transition values, environment modifiers, and protobuf coding.
  • Convert transitions to backend descriptors, emit content transition display-list groups, and resolve symbol image animation timing and replacement behavior.
  • Add 38 focused tests covering transition values, encoding, descriptors, and image dispatch, including isolated v5/v6 semantics coverage.
  • Add a numeric text transition example that compares an explicit transition with the default text transition.

Dependency

@github-actions github-actions Bot added area: animation Animation, transitions, transactions, or timing behavior. area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. type: feature New API, behavior, platform support, or user-facing capability. labels Oct 31, 2026
@tuist

tuist Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 0ca46e7c6

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 49.4s 0ca46e7c6

@codecov

codecov Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.90076% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 32.00%. Comparing base (8814564) to head (f6fb2d5).

Files with missing lines Patch % Lines
...ICore/Animation/Transition/ContentTransition.swift 98.39% 8 Missing ⚠️
...ore/Animation/Animation/TransactionAnimation.swift 0.00% 2 Missing ⚠️
...OpenSwiftUI/Render/SymbolEffect/SymbolEffect.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1237      +/-   ##
==========================================
+ Coverage   27.75%   32.00%   +4.25%     
==========================================
  Files         908      982      +74     
  Lines       67675    81174   +13499     
==========================================
+ Hits        18780    25977    +7197     
- Misses      48895    55197    +6302     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot added area: example Example apps, previews, sample projects, screenshots, or demo assets. area: graphics Color, shape, gradient, image, symbols, and graphics primitives. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. area: text Text, labels, line style, and text rendering APIs. labels Oct 31, 2026
@Kyle-Ye
Kyle-Ye force-pushed the feature/content_transition branch from 748847a to 728f131 Compare October 31, 2026 11:52
@Kyle-Ye
Kyle-Ye force-pushed the feature/content_transition branch from 728f131 to f6fb2d5 Compare October 31, 2026 14:46
@Kyle-Ye
Kyle-Ye merged commit edea186 into main Oct 31, 2026
7 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/content_transition branch October 31, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: animation Animation, transitions, transactions, or timing behavior. area: example Example apps, previews, sample projects, screenshots, or demo assets. area: graphics Color, shape, gradient, image, symbols, and graphics primitives. area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. area: text Text, labels, line style, and text rendering APIs. type: feature New API, behavior, platform support, or user-facing capability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement content transitions

1 participant