Skip to content

feat(event): implement hit-test binding modifier - #1062

Merged
Kyle-Ye merged 2 commits into
fix/view_responder_platform_defaultsfrom
feature/hit_test
Sep 8, 2026
Merged

Kyle-Ye merged 2 commits into
fix/view_responder_platform_defaultsfrom
feature/hit_test

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Implement hit-test responder wrapping and event target binding.
  • Add single-point and weighted point-cloud hit testing with sampling, priority selection, and occlusion.
  • Add parameterized coverage for sampling bounds and weights, responder selection, and out-of-range mask indexing.

Stack

Depends on #1061.

@github-actions github-actions Bot added area: event-gesture Events, gestures, tracing, or interaction plumbing. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: feature New API, behavior, platform support, or user-facing capability. labels Sep 8, 2026
@tuist

tuist Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI ✅ 0 % 1184 0 1184 6a2bf9724

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 44.4s 6a2bf9724

@codecov

codecov Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.18898% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.94%. Comparing base (0cc08bd) to head (595d314).

Files with missing lines Patch % Lines
...ICore/Event/Responder/HitTestBindingModifier.swift 88.18% 15 Missing ⚠️
Additional details and impacted files
@@                           Coverage Diff                            @@
##           fix/view_responder_platform_defaults    #1062      +/-   ##
========================================================================
+ Coverage                                 29.84%   29.94%   +0.09%     
========================================================================
  Files                                       788      788              
  Lines                                     62025    62145     +120     
========================================================================
+ Hits                                      18513    18608      +95     
- Misses                                    43512    43537      +25     

☔ 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 826a25d into main Sep 8, 2026
6 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/hit_test branch September 8, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: event-gesture Events, gestures, tracing, or interaction plumbing. 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