Skip to content
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

Change RN default position type to relative #42062

Closed
wants to merge 1 commit into from

Conversation

joevilches
Copy link
Contributor

Summary:
We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Differential Revision: D52137858

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 26, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52137858

joevilches added a commit to joevilches/react-native that referenced this pull request Dec 26, 2023
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Differential Revision: D52137858
joevilches added a commit to joevilches/react-native that referenced this pull request Dec 26, 2023
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Differential Revision: D52137858
joevilches added a commit to joevilches/react-native that referenced this pull request Dec 26, 2023
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Differential Revision: D52137858
joevilches added a commit to joevilches/react-native that referenced this pull request Dec 26, 2023
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Differential Revision: D52137858
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52137858

@analysis-bot
Copy link

analysis-bot commented Dec 26, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 16,578,126 +20
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 19,955,146 +6
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 0e533f3
Branch: main

joevilches added a commit to joevilches/react-native that referenced this pull request Dec 28, 2023
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Differential Revision: D52137858
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52137858

joevilches added a commit to joevilches/react-native that referenced this pull request Jan 3, 2024
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52137858
joevilches added a commit to joevilches/react-native that referenced this pull request Jan 3, 2024
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52137858
joevilches added a commit to joevilches/react-native that referenced this pull request Jan 3, 2024
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52137858
joevilches added a commit to joevilches/react-native that referenced this pull request Jan 3, 2024
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52137858
joevilches added a commit to joevilches/react-native that referenced this pull request Jan 3, 2024
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52137858
joevilches added a commit to joevilches/react-native that referenced this pull request Jan 3, 2024
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52137858
Summary:

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52137858
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52137858

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 3, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 348290b.

Othinn pushed a commit to Othinn/react-native that referenced this pull request Jan 9, 2024
Summary:
Pull Request resolved: facebook#42062

We have had relative as the default for a few big frameworks/apps right now (Fabric FB iOS, Fabric FB Android, OSS, Litho, CK) and have not run into issues. Seems it is safe to pull the trigger here and put everything on relative 🎉

This also fixes a test that relied on this default, changes the layout metrics default, and removes the gating plumbing that was in place earlier.

Lastly, a few animation tests start failing after this change. Seems that there is an animation bug with relative trees that would have existed already, so this is merely discovering that that bug exists, not causing any extra issues. Since that test is a set of random trees with random props it is very hard to debug and I am just adding skips to the failing ones.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52137858

fbshipit-source-id: 6856bc608b8211c868c9ee81fc92e005ec3d2faa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants