Skip to content

feat(event): add spring loading behavior - #1130

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

Kyle-Ye merged 1 commit into
mainfrom
feature/spring_loading

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Add SpringLoadingBehavior, its view modifier, and its environment value.
  • Add spring-loaded interaction callbacks and highlight states through the UIFrameworks SPI.
  • Apply activation settings, refresh callbacks and child responders, and expose spring-loading capability to the host.

Validation

Scoped compilation and public/SPI interface checks passed.

@github-actions github-actions Bot added area: event-gesture Events, gestures, tracing, or interaction plumbing. 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 534e19a3e

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 1.0s 534e19a3e

@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 56 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.92%. Comparing base (e443e3c) to head (73dda44).

Files with missing lines Patch % Lines
...rces/OpenSwiftUI/Event/SpringLoadingBehavior.swift 0.00% 56 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1130      +/-   ##
==========================================
- Coverage   30.92%   30.92%   -0.01%     
==========================================
  Files         878      879       +1     
  Lines       70950    71006      +56     
==========================================
+ Hits        21943    21957      +14     
- Misses      49007    49049      +42     

☔ 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 3805481 into main Oct 7, 2026
6 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/spring_loading branch October 7, 2026 15:56
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. 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