Skip to content

feat(render): complete opacity effects - #1129

Merged
Kyle-Ye merged 1 commit into
mainfrom
feature/opacity
Oct 7, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
feature/opacity

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Add opacity shape styles and the .opacity(_:) shorthand for style resolution, text preparation, fallback colors, and copied styles.
  • Route opacity modifiers through the accessibility provider and expose provider selection within the package.
  • Add API documentation and regression coverage for style levels, identity opacity, and boundary values.

Validation

  • Passed 18 focused regression cases and five API visibility checks using cached dependencies.
  • Passed documentation and whitespace checks. No full package build was run.

@github-actions github-actions Bot added area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: feature New API, behavior, platform support, or user-facing capability. labels Oct 7, 2026
@tuist

tuist Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 cf7476d76

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 12s cf7476d76

@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 73.91304% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.90%. Comparing base (f8584b6) to head (4b362fc).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ftUICore/Render/RendererEffect/OpacityEffect.swift 73.91% 18 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1129      +/-   ##
==========================================
+ Coverage   30.79%   30.90%   +0.11%     
==========================================
  Files         876      876              
  Lines       70857    70925      +68     
==========================================
+ Hits        21820    21919      +99     
+ Misses      49037    49006      -31     

☔ 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 2272bcd into main Oct 7, 2026
6 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/opacity branch October 7, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. 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