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

Extract logic to CellMetricsAggregator #37777

Closed
wants to merge 2 commits into from

Conversation

NickGerleman
Copy link
Contributor

Summary:
This extracts the state and logic VirtualizedList uses to query information related to cell metrics. We will need to modify this (and other places) when fixing up RTL support for horizontal FlatList.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D46427052

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Jun 8, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Jun 8, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,745,208 +605
android hermes armeabi-v7a 8,057,384 +604
android hermes x86 9,236,283 +602
android hermes x86_64 9,087,140 +605
android jsc arm64-v8a 9,307,570 +193
android jsc armeabi-v7a 8,497,087 +194
android jsc x86 9,369,528 +191
android jsc x86_64 9,624,487 +201

Base commit: 108309e
Branch: main

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jun 8, 2023
Summary:
Pull Request resolved: facebook#37777

This extracts the state and logic VirtualizedList uses to query information related to cell metrics. We will need to modify this (and other places) when fixing up RTL support for horizontal FlatList.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D46427052

fbshipit-source-id: e4e0bbc49a3792091e7867a982b5bd4ac5071298
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jun 8, 2023
Summary:
Pull Request resolved: facebook#37777

This extracts the state and logic VirtualizedList uses to query information related to cell metrics. We will need to modify this (and other places) when fixing up RTL support for horizontal FlatList.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D46427052

fbshipit-source-id: 71f09ca5cf17837c7e89c1f722a430aa0a5a0b9d
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Jun 8, 2023
Summary:
Pull Request resolved: facebook#37777

This extracts the state and logic VirtualizedList uses to query information related to cell metrics. We will need to modify this (and other places) when fixing up RTL support for horizontal FlatList.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D46427052

fbshipit-source-id: c3a5c3da24cd02ad62a72e26e740ebf5e0473a85
@facebook-github-bot
Copy link
Contributor

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

NickGerleman and others added 2 commits June 8, 2023 10:33
Summary:
These functions describe how to get the metrics of a specific cell. "Frame" here seems non-descriptive and redundant to the "Metrics" part. Renaming this before a larger refactor.

Changelog: [Internal]

Differential Revision: D46427058

fbshipit-source-id: 84be31198d43be060f86f8866e07dbffde4a3455
Summary:
Pull Request resolved: facebook#37777

This extracts the state and logic VirtualizedList uses to query information related to cell metrics. We will need to modify this (and other places) when fixing up RTL support for horizontal FlatList.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D46427052

fbshipit-source-id: 6f4ca2324f920dd6bf2d31016efa29f948c39026
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 8, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8f7f0bf.

@TheRogue76
Copy link
Contributor

@matinzd I believe this might find this one interesting

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.

4 participants