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

feat[DebuggingRegistry]: basic implementation #41743

Closed
wants to merge 1 commit into from

Conversation

hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Dec 1, 2023

Summary:
Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

@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 labels Dec 1, 2023
@facebook-github-bot
Copy link
Contributor

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

hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 1, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

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

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

hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 1, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 1, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 6, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

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

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

hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 6, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 6, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 6, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 6, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 6, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 6, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

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

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

hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 6, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 7, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

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

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

hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 7, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 7, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Dec 7, 2023
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
Summary:

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Reviewed By: rshest

Differential Revision: D51536787
@hoxyq hoxyq force-pushed the export-D51536787 branch from ae8e111 to 748f4e3 Compare January 2, 2024 12:12
@facebook-github-bot
Copy link
Contributor

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

hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 4, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: cf24bd0bdcd411e7529c591096cd3416ae07d95d
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 4, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: f2b60b5326c7b6a5c14a584e92f291bfb9f1c557
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 4, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: f424e04e042e1243feaf621c169af682f90342e8
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 5, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 9903860be00df859302c1e500b00ef9281c16823
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 5, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 8b61d58ccd1bdd7370c833acc15e653fa8579c34
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 5, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: fe3d19ea4ad2a0bccb186d4cb472535be154093d
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 8, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 097b1fbd1955957abd7a29c5235b0ddc8a26373d
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 8, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 8c505d213e18eaae7b907d3536ba157ac21164b1
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 8, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 8bbab4f0aa95aa66f1e29b0dca7d34c5819ce273
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 8, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 5f298b6bd6499bbb9c1195106e175e56cabeb89b
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 11, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 286bfd5d70616181502e4c304499af74ee5c37f6
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 11, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 3f1545ad89c1c601fe350045f096c3f4ddd2d84b
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 11, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: b1fb85138be798d57a483c9eea41f62856c1f0fb
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 15, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 95bac8098e293bfa13afae755706fbfc4f520e2e
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 15, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: ee82c3bc275b0d2951742c73dbf58d3d7a497b29
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 15, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 54105dd86b0ca0e27dd64f1b636e82efab1ab2c4
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 15, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: 828ca7f90c67c5ce5b49ffb42bd36bfc0fd282e8
hoxyq pushed a commit to hoxyq/react-native that referenced this pull request Jan 15, 2024
Summary:
Pull Request resolved: facebook#41743

Changelog: [Internal]

There will be a single DebuggingRegistry instance per runtime, which will be responsible for finding lowest AppContainer ancestor for highligthed component.

It will receive refs to root views (ancestors, AppContainers) as subscriptions and later will call all necessary methods.

In the next series of diffs, subscriber will also provide reference to the DebuggingOverlay, on which DebuggingRegistry can call all necessary methods to highlight elements.

Differential Revision: D51536787

Reviewed By: rshest

fbshipit-source-id: a6a64ef5f2cec6eb10881275929272ce02038c20
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 15, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f8a1818.

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.

2 participants