Skip to content

Fix ProgressViewUITests failure on macOS - #1020

Merged
Kyle-Ye merged 3 commits into
mainfrom
bugfix/progressView_macos
Aug 26, 2026
Merged

Kyle-Ye merged 3 commits into
mainfrom
bugfix/progressView_macos

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Measure AppKit platform views using intrinsic layout constraints for representables.
  • Match linear progress spacing and current-value typography on macOS while preserving iOS behavior.

@Kyle-Ye
Kyle-Ye requested a review from Mx-Iris as a code owner August 25, 2026 20:18
@github-actions github-actions Bot added area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. area: layout Layout, geometry, safe area, alignment, stacks, or sizing. platform: macOS macOS-specific behavior or support. type: bug Something is not working correctly. labels Aug 25, 2026
@Kyle-Ye Kyle-Ye changed the title Fix ProgressView layout on macOS Fix ProgressViewUITests failure on macOS Aug 25, 2026
@Kyle-Ye

Kyle-Ye commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

/uitest macos osui-ag

@Kyle-Ye Kyle-Ye linked an issue Aug 25, 2026 that may be closed by this pull request
@Kyle-Ye
Kyle-Ye force-pushed the bugfix/progressView_macos branch from cd31571 to a376712 Compare August 25, 2026 20:38
@Kyle-Ye

Kyle-Ye commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

/uitest macos osui-ag

@codecov

codecov Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 76 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.65%. Comparing base (eeee338) to head (a376712).

Files with missing lines Patch % Lines
...tion/Representable/Platform/PlatformViewHost.swift 0.00% 69 Missing ⚠️
...Control/ProgressView/LinearProgressViewStyle.swift 0.00% 6 Missing ⚠️
...tform/PlatformViewRepresentableLayoutOptions.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1020      +/-   ##
==========================================
- Coverage   27.70%   27.65%   -0.05%     
==========================================
  Files         770      770              
  Lines       60856    60927      +71     
==========================================
- Hits        16858    16850       -8     
- Misses      43998    44077      +79     

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

@tuist

tuist Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI ✅ 0 % 1074 0 1074 fc49e6000

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 51.5s fc49e6000

@github-actions github-actions Bot added the impact: visual-diff Visual mismatch, screenshot diff, or rendering fidelity issue. label Aug 26, 2026
@Kyle-Ye

Kyle-Ye commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

/uitest all update osui-ag

@Kyle-Ye
Kyle-Ye merged commit e201375 into main Aug 26, 2026
2 of 10 checks passed
@Kyle-Ye
Kyle-Ye deleted the bugfix/progressView_macos branch August 26, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: hosting-bridge SwiftUI bridge, UIHosting/NSHosting, representables, and platform host views. area: layout Layout, geometry, safe area, alignment, stacks, or sizing. impact: visual-diff Visual mismatch, screenshot diff, or rendering fidelity issue. platform: macOS macOS-specific behavior or support. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ProgressView support

1 participant