Formalise ENABLE_TIMELINE_FRAMES experiment#242
Merged
huntie merged 1 commit intofacebook:mainfrom Mar 5, 2026
Merged
Conversation
8310604 to
ce986ec
Compare
ce986ec to
fb16e5d
Compare
rubennorte
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Note
Paired with facebook/react-native#55941, should be synced into
react-nativeafterwards.Formalise the existing
ENABLE_TIMELINE_FRAMESexperiment, by removing the scatteredglobalThis.enableTimelineFramesandplatform === 'android'checks, and ensuring the UI is correctly synced in both states.This allows us to control enabling this feature from the backend (
ReactNativeApplication.metadataEnabled → { unstable_frameRecordingEnabled }), as we experiment and add support per platform.Also cleans up additional code forks in
TimelinePanel.js.Rollout plan (future)
unstable_frameRecordingEnabled(this change): Backend-driven enabling of this experiment, when the corresponding React Native feature flag is enabled.ENABLE_TIMELINE_FRAMESexperiment here — enabling per-user opt-in.Test plan
Experiment disabled
✅ No Screenshots toggle available
Experiment enabled
When
unstable_frameRecordingEnabledis sent by the backend:✅ Initial user notification for backend-touched experiment
✅ Upon refresh, Screenshots toggle is enabled in Performance panel
Upstreaming plan
devtools-frontendrepo following the contribution guide for Meta employees OR contribution guide.