Skip to content

Conversation

shwanton
Copy link

@shwanton shwanton commented Jan 24, 2023

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 can be enabled when building RNTester w/o build issues.
USE_FABRIC=1 bundle exec pod install

Enable CI for building RNTester w/ Fabric macOS

Changelog

[macOS] [ADDED] - Enable CI for building RNTester w/ Fabric macOS

Test Plan

macOS Fabric Debug CI job should pass

Shawn Dempsey and others added 30 commits January 20, 2023 17:17
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
…componentview

# Conflicts:
#	React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryComponentView.mm
#	React/Fabric/Mounting/UIView+ComponentViewProtocol.mm
@Saadnajmi
Copy link
Collaborator

All merged... I guess we can convert this to a "Enable macOS Fabric CI" PR

@christophpurrer
Copy link

Very nice!

@shwanton shwanton changed the title WIP - DO NOT MERGE - [Fabric] Test Fabric build [Fabric] Enable CI for building RNTester w/ Fabric macOS Jan 25, 2023
@shwanton shwanton marked this pull request as ready for review January 25, 2023 18:37
@shwanton shwanton requested a review from a team as a code owner January 25, 2023 18:37
@Saadnajmi Saadnajmi merged commit c8e32a1 into microsoft:main Jan 25, 2023
@shwanton shwanton deleted the fabric/test-success-build branch January 25, 2023 22:10
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
)

* [Fabric] Shim RCTSwitchComponentView

* Add missing tags

* [Fabric] Shim RCTImage

* Shim RCTTextInput

* Shim RCTSurfaceTouchHandler

* Shim NSTouch in RCTUIKit

* Shim RCTComponentViewDescriptor

* Fix RCTLegacyViewManagerInteropComponentView

* Fix Fabric crash setting frame

* Fix crash w/ first responder

* Fix RCTFindTextInputWithNativeId

* Shim macOS scale utils

* Shim RCTUITouch -> NSEvent

* [Fabric] Fix UIKit Shim

* [Fabric] Fix RCTUILabel shim

* [Fabric] Fix RCTSliderComponent shim

* [Fabric] Disable UIApplicationWillTerminateNotification on macOS

* [Fabric] Don't check alpha for NSView

* [Fabric] Add missing tags

* [Fabric] Remove double import

* [Fabric] Fix RCTTouchEvent Shim

* Update React/Fabric/Mounting/RCTComponentViewDescriptor.h

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Fix whitespace

* [Fabric] Enable fabric macOS builds on CI

* [Fabric] Add missing tag

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
)

* [Fabric] Shim RCTSwitchComponentView

* Add missing tags

* [Fabric] Shim RCTImage

* Shim RCTTextInput

* Shim RCTSurfaceTouchHandler

* Shim NSTouch in RCTUIKit

* Shim RCTComponentViewDescriptor

* Fix RCTLegacyViewManagerInteropComponentView

* Fix Fabric crash setting frame

* Fix crash w/ first responder

* Fix RCTFindTextInputWithNativeId

* Shim macOS scale utils

* Shim RCTUITouch -> NSEvent

* [Fabric] Fix UIKit Shim

* [Fabric] Fix RCTUILabel shim

* [Fabric] Fix RCTSliderComponent shim

* [Fabric] Disable UIApplicationWillTerminateNotification on macOS

* [Fabric] Don't check alpha for NSView

* [Fabric] Add missing tags

* [Fabric] Remove double import

* [Fabric] Fix RCTTouchEvent Shim

* Update React/Fabric/Mounting/RCTComponentViewDescriptor.h

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Fix whitespace

* [Fabric] Enable fabric macOS builds on CI

* [Fabric] Add missing tag

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
)

* [Fabric] Shim RCTSwitchComponentView

* Add missing tags

* [Fabric] Shim RCTImage

* Shim RCTTextInput

* Shim RCTSurfaceTouchHandler

* Shim NSTouch in RCTUIKit

* Shim RCTComponentViewDescriptor

* Fix RCTLegacyViewManagerInteropComponentView

* Fix Fabric crash setting frame

* Fix crash w/ first responder

* Fix RCTFindTextInputWithNativeId

* Shim macOS scale utils

* Shim RCTUITouch -> NSEvent

* [Fabric] Fix UIKit Shim

* [Fabric] Fix RCTUILabel shim

* [Fabric] Fix RCTSliderComponent shim

* [Fabric] Disable UIApplicationWillTerminateNotification on macOS

* [Fabric] Don't check alpha for NSView

* [Fabric] Add missing tags

* [Fabric] Remove double import

* [Fabric] Fix RCTTouchEvent Shim

* Update React/Fabric/Mounting/RCTComponentViewDescriptor.h

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Fix whitespace

* [Fabric] Enable fabric macOS builds on CI

* [Fabric] Add missing tag

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants