Skip to content

Commit b8e45a5

Browse files
rubennortemeta-codesync[bot]
authored andcommitted
Fix feature flag categorization metadata (#57610)
Summary: Pull Request resolved: #57610 Corrects categorization metadata in the feature flags config. These are metadata-only changes: flag default values and runtime behavior are unchanged, and no generated files are affected (the codegen does not consume the `purpose` or `dateAdded` fields). - Zero-pad three malformed `dateAdded` values to the `YYYY-MM-DD` convention (`enableAccessibilityOrder`, `useSharedAnimatedBackend`, `useTraitHiddenOnAndroid`). - Recategorize `enableDoubleMeasurementFixAndroid` as an experimentation flag (adding its `dateAdded`), since it gates a one-off fix that is still ramping rather than a long-lived operational toggle. - Recategorize `useFabricInterop` as operational, since it is a long-lived compatibility toggle rather than a rollout toward becoming the default. - Recategorize `preparedTextCacheSize` and `viewCullingOutsetRatio` as operational tuning values (dropping their now-unused `dateAdded`), matching `virtualViewPrerenderRatio`. Changelog: [Internal] ___ Differential Revision: D112803274 fbshipit-source-id: e2325ab4c125c14d621039c985a8495a82a500bc
1 parent 566c7ac commit b8e45a5

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const definitions: FeatureFlagDefinitions = {
161161
enableAccessibilityOrder: {
162162
defaultValue: false,
163163
metadata: {
164-
dateAdded: '2025-4-3',
164+
dateAdded: '2025-04-03',
165165
description:
166166
'When enabled, the accessibilityOrder prop will propagate to native platforms and define the accessibility order.',
167167
expectedReleaseValue: true,
@@ -246,10 +246,11 @@ const definitions: FeatureFlagDefinitions = {
246246
enableDoubleMeasurementFixAndroid: {
247247
defaultValue: false,
248248
metadata: {
249+
dateAdded: '2025-04-29',
249250
description:
250251
'When enabled a subset of components will avoid double measurement on Android.',
251252
expectedReleaseValue: true,
252-
purpose: 'operational',
253+
purpose: 'experimentation',
253254
},
254255
ossReleaseStage: 'none',
255256
},
@@ -727,10 +728,9 @@ const definitions: FeatureFlagDefinitions = {
727728
preparedTextCacheSize: {
728729
defaultValue: 200,
729730
metadata: {
730-
dateAdded: '2025-06-25',
731731
description: 'Number cached PreparedLayouts in TextLayoutManager cache',
732732
expectedReleaseValue: 200,
733-
purpose: 'experimentation',
733+
purpose: 'operational',
734734
},
735735
ossReleaseStage: 'none',
736736
},
@@ -857,7 +857,7 @@ const definitions: FeatureFlagDefinitions = {
857857
description:
858858
'Should this application enable the Fabric Interop Layer for Android? If yes, the application will behave so that it can accept non-Fabric components and render them on Fabric. This toggle is controlling extra logic such as custom event dispatching that are needed for the Fabric Interop Layer to work correctly.',
859859
expectedReleaseValue: false,
860-
purpose: 'release',
860+
purpose: 'operational',
861861
},
862862
ossReleaseStage: 'none',
863863
},
@@ -886,7 +886,7 @@ const definitions: FeatureFlagDefinitions = {
886886
useSharedAnimatedBackend: {
887887
defaultValue: false,
888888
metadata: {
889-
dateAdded: '2025-08-2',
889+
dateAdded: '2025-08-02',
890890
description: 'Use shared animation backend in C++ Animated',
891891
expectedReleaseValue: true,
892892
purpose: 'experimentation',
@@ -896,7 +896,7 @@ const definitions: FeatureFlagDefinitions = {
896896
useTraitHiddenOnAndroid: {
897897
defaultValue: false,
898898
metadata: {
899-
dateAdded: '2025-10-9',
899+
dateAdded: '2025-10-09',
900900
description: 'Use Trait::hidden on Android',
901901
expectedReleaseValue: true,
902902
purpose: 'experimentation',
@@ -917,11 +917,10 @@ const definitions: FeatureFlagDefinitions = {
917917
viewCullingOutsetRatio: {
918918
defaultValue: 0,
919919
metadata: {
920-
dateAdded: '2025-09-18',
921920
description:
922921
'Outset the culling context frame with the provided ratio. The culling context frame size will be outset by width * ratio on the left and right, and height * ratio on the top and bottom.',
923922
expectedReleaseValue: 0,
924-
purpose: 'experimentation',
923+
purpose: 'operational',
925924
},
926925
ossReleaseStage: 'none',
927926
},

0 commit comments

Comments
 (0)