Skip to content

Migrate YogaDisplay enum to Kotlin#1956

Closed
cortinico wants to merge 5 commits into
react:mainfrom
cortinico:export-D104666346
Closed

Migrate YogaDisplay enum to Kotlin#1956
cortinico wants to merge 5 commits into
react:mainfrom
cortinico:export-D104666346

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:
X-link: react/react-native#56781

Migrate YogaDisplay.java to YogaDisplay.kt by adding Display to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666346

cortinico and others added 5 commits May 12, 2026 05:42
Summary:
Migrate all hand-written Java test files in xplat/yoga/java/tests/ to Kotlin as part of the Yoga Java-to-Kotlin migration effort. Also updates the BUCK test target glob to include *.kt files. Files migrated: TestParametrization.java, utils/TestUtils.java, YogaValueTest.java, YogaLoggerTest.java, YGAlignBaselineTest.java, YogaExceptionTest.java, YogaNodeTest.java, YogaNodeStylePropertiesTest.java.

Changelog:
[Internal] -

Differential Revision: D104666348
Summary:
Migrate YogaAlign.java to YogaAlign.kt by adding Align to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Changelog:
[Internal] -

Differential Revision: D104666334
Summary: Migrate YogaBoxSizing.java to YogaBoxSizing.kt by adding BoxSizing to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666350
Summary: Migrate YogaDimension.java to YogaDimension.kt by adding Dimension to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666342
Summary:
X-link: react/react-native#56781

Migrate YogaDisplay.java to YogaDisplay.kt by adding Display to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666346
@vercel

vercel Bot commented May 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
yoga-website Ready Ready Preview, Comment May 12, 2026 0:55am

Request Review

@meta-cla meta-cla Bot added the CLA Signed label May 12, 2026
@meta-codesync

meta-codesync Bot commented May 12, 2026

Copy link
Copy Markdown

@cortinico has exported this pull request. If you are a Meta employee, you can view the originating Diff in D104666346.

@meta-codesync meta-codesync Bot closed this in 903ef5a May 12, 2026
meta-codesync Bot pushed a commit to react/react-native that referenced this pull request May 12, 2026
Summary:
X-link: react/yoga#1956

Pull Request resolved: #56781

Migrate YogaDisplay.java to YogaDisplay.kt by adding Display to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Reviewed By: fabriziocucci

Differential Revision: D104666346

fbshipit-source-id: b49d06c947ce2fb2c24aee96a207e1ab737e5c10
@meta-codesync

meta-codesync Bot commented May 12, 2026

Copy link
Copy Markdown

This pull request has been merged in 903ef5a.

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.

1 participant