Skip to content

fix(extension): support OpenSwiftUI tappable padding - #1102

Merged
Kyle-Ye merged 1 commit into
mainfrom
optimize/tappable_padding
Sep 26, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
optimize/tappable_padding

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Sep 26, 2026

Copy link
Copy Markdown
Member

Summary

  • Use the OPENSWIFTUI build flag so tappablePadding extends the selected framework's View.
  • Guard only the preview with canImport(DeveloperToolsSupport), keeping the modifier available on platforms without preview support.

Validation

Swift syntax checks passed for both framework selections. Whitespace validation passed.

@github-actions github-actions Bot added area: layout Layout, geometry, safe area, alignment, stacks, or sizing. area: view View APIs, modifiers, AnyView, ForEach, DynamicView, and related behavior. type: bug Something is not working correctly. labels Sep 26, 2026
@tuist

tuist Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 b35b1e12a

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 26.9s b35b1e12a

@Kyle-Ye
Kyle-Ye force-pushed the optimize/tappable_padding branch from 3ebf464 to 4bb7c57 Compare September 26, 2026 12:06
@codecov

codecov Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 33.26%. Comparing base (770047e) to head (4bb7c57).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1102      +/-   ##
==========================================
- Coverage   33.27%   33.26%   -0.02%     
==========================================
  Files         805      805              
  Lines       63992    63992              
==========================================
- Hits        21296    21286      -10     
- Misses      42696    42706      +10     

☔ 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 merged commit 02e5baf into main Sep 26, 2026
6 checks passed
@Kyle-Ye
Kyle-Ye deleted the optimize/tappable_padding branch September 26, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: layout Layout, geometry, safe area, alignment, stacks, or sizing. area: view View APIs, modifiers, AnyView, ForEach, DynamicView, and related behavior. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant