Skip to content

Implement PlatformItemList representations - #992

Merged
Kyle-Ye merged 5 commits into
mainfrom
feature/platform_list
Aug 16, 2026
Merged

Kyle-Ye merged 5 commits into
mainfrom
feature/platform_list

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • add PlatformItemList preference plumbing and platform representations for text, images, named images, layout items, and hidden content
  • add platform item list flag sets and _ViewInputs helpers
  • preserve styled text during platform item generation and update large-content accessibility integration

Why

Platform integrations need a structured item list that can carry resolved text and image metadata through view preferences. This adds the missing generation and transformation paths used by those consumers.

Validation

  • parsed the new PlatformItemList Swift sources with swiftc -frontend -parse
  • ran git diff --check origin/main...HEAD

@github-actions github-actions Bot added area: accessibility Accessibility APIs, settings, semantics, or behavior. area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. type: feature New API, behavior, platform support, or user-facing capability. labels Aug 15, 2026
@Kyle-Ye
Kyle-Ye marked this pull request as ready for review August 15, 2026 15:24
@tuist

tuist Bot commented Aug 15, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI ✅ 0 % 1014 0 1014 8f9e1ad2b

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 29s 8f9e1ad2b

@codecov

codecov Bot commented Aug 15, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 196 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.19%. Comparing base (1c4edfb) to head (41e34ea).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ntegration/PlatformItemList/PlatformItemList.swift 0.00% 158 Missing ⚠️
...ration/PlatformItemList/PlatformItemListFlag.swift 0.00% 27 Missing ⚠️
...egration/PlatformItemList/IncludesStyledText.swift 0.00% 8 Missing ⚠️
.../Accessibility/AccessibilityLargeContentView.swift 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #992      +/-   ##
==========================================
- Coverage   26.24%   26.19%   -0.05%     
==========================================
  Files         734      736       +2     
  Lines       55580    55749     +169     
==========================================
+ Hits        14588    14605      +17     
- Misses      40992    41144     +152     

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

@Kyle-Ye
Kyle-Ye force-pushed the feature/platform_list branch from 2e97401 to 41e34ea Compare August 16, 2026 06:37
@github-actions github-actions Bot added the area: text Text, labels, line style, and text rendering APIs. label Aug 16, 2026
@Kyle-Ye
Kyle-Ye merged commit f161632 into main Aug 16, 2026
9 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/platform_list branch August 16, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: accessibility Accessibility APIs, settings, semantics, or behavior. area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. 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