Skip to content

[Fabric] Convert UIActivityIndicatorView to RCTActivityIndicatorView shim #1528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

shwanton
Copy link

@shwanton shwanton commented Nov 29, 2022

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

Fabric on macOS implementation:
Replacing references of UIActivityIndicatorView to RCTActivityIndicatorView shim

Changelog

[macOS][Fabric] - Replacing references of UIActivityIndicatorView to RCTActivityIndicatorView shim

Test Plan

[x] Build RNTester-macOS w/ Fabric - doesn’t run yet, but no UIActivityIndicatorView errors
CleanShot 2022-11-28 at 16 59 44

Build errors:
Build RNTester-macOS_2022-11-28T16-13-01.txt

[x] Build RNTester - iOS w/ Fabric - New architecture example should work
https://user-images.githubusercontent.com/96719/204412810-4b41b91c-e9b5-436a-9746-1df4c9707750.mp4

[x] Build RNTester-macOS w/ Paper - should work
CleanShot 2022-11-28 at 16 46 22

[x] Build RNTester - iOS w/ Paper - should work
CleanShot 2022-11-28 at 16 49 20

@shwanton shwanton marked this pull request as ready for review November 30, 2022 21:54
@shwanton shwanton requested a review from a team as a code owner November 30, 2022 21:54
@Saadnajmi Saadnajmi linked an issue Dec 1, 2022 that may be closed by this pull request
@lyzhan7 lyzhan7 enabled auto-merge (squash) December 9, 2022 23:49
@Saadnajmi Saadnajmi disabled auto-merge December 10, 2022 01:06
…indicatorview-shim

# Conflicts:
#	React/Base/RCTUIKit.h
@Saadnajmi Saadnajmi merged commit 6a7336a into microsoft:main Dec 13, 2022
@shwanton shwanton deleted the fabric/rctactivityindicatorview-shim branch December 15, 2022 01:00
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
…shim (microsoft#1528)

* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UIActivityIndicatorView to RCTActivityIndicatorView shim

* Add macOS tags

* Shim RCTUIActivityIndicatorView instead of using RCTActivityIndicatorView

* Shim correct NSProgressIndicator

* Move RCTUIActivityIndicatorView below other defs for easier merges

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: lyzhan7 <78454019+lyzhan7@users.noreply.github.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
…shim (microsoft#1528)

* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UIActivityIndicatorView to RCTActivityIndicatorView shim

* Add macOS tags

* Shim RCTUIActivityIndicatorView instead of using RCTActivityIndicatorView

* Shim correct NSProgressIndicator

* Move RCTUIActivityIndicatorView below other defs for easier merges

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: lyzhan7 <78454019+lyzhan7@users.noreply.github.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
…shim (microsoft#1528)

* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UIActivityIndicatorView to RCTActivityIndicatorView shim

* Add macOS tags

* Shim RCTUIActivityIndicatorView instead of using RCTActivityIndicatorView

* Shim correct NSProgressIndicator

* Move RCTUIActivityIndicatorView below other defs for easier merges

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: lyzhan7 <78454019+lyzhan7@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace UIActivityIndicatorView with RCTActivityIndicatorView
3 participants