Skip to content

Implement resolvable text segment attributes - #1028

Open
Kyle-Ye wants to merge 5 commits into
mainfrom
feature/ResolvableTextSegmentAttribute
Open

Implement resolvable text segment attributes#1028
Kyle-Ye wants to merge 5 commits into
mainfrom
feature/ResolvableTextSegmentAttribute

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Aug 27, 2026

Copy link
Copy Markdown
Member

Summary

  • Implement resolvable text segment construction, restoration, toggling, updates, and serialization.
  • Add platform attribute resolution and dynamic text update-schedule aggregation.
  • Add focused coverage for segment behavior, size variants, attribute conflicts, update ordering, and reduced timeline schedules.

@github-actions github-actions Bot added 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. labels Aug 27, 2026
@tuist

tuist Bot commented Aug 27, 2026

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI 0 % 1089 0 1089 f667b34d2

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI 2m 43s f667b34d2

@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.82353% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 28.80%. Comparing base (8adfd64) to head (1017949).

Files with missing lines Patch % Lines
.../Text/Resolve/ResolvableTextSegmentAttribute.swift 94.44% 16 Missing ⚠️
.../ConfigurationBasedResolvableStringAttribute.swift 0.00% 4 Missing ⚠️
...ICore/View/Text/Util/ReducedTimelineSchedule.swift 97.91% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1028      +/-   ##
==========================================
+ Coverage   27.67%   28.80%   +1.13%     
==========================================
  Files         771      771              
  Lines       60962    61288     +326     
==========================================
+ Hits        16870    17655     +785     
+ Misses      44092    43633     -459     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

1 participant