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

fix[devtools/extension]: fixed duplicating panels in firefox #27320

Merged

Conversation

hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Aug 31, 2023

Multiple chrome.panels.create calls result into having duplicate panels created in Firefox, these changes fix that.

Now calling chrome.panels.create only if there are no panels created yet.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Aug 31, 2023
@hoxyq hoxyq requested a review from gsathya August 31, 2023 16:37
@hoxyq hoxyq merged commit 7022e8d into facebook:main Aug 31, 2023
36 checks passed
@hoxyq hoxyq deleted the devtools/fix-duplicating-panels-in-firefox branch August 31, 2023 17:24
hoxyq added a commit that referenced this pull request Sep 5, 2023
This is a patch version to fix some bugs in a previous internal release.
I am expecting this one also to be internal-only, need to make sure that
extension is stable in Chrome. Some changes and improvements are
expected for Firefox, though, before going public.

* refactor[devtools/extension]: handle ports disconnection, instead of
frequent reconnection ([hoxyq](https://github.com/hoxyq) in
[#27336](#27336))
* refactor[devtools/extension]: migrate from using setInterval for
polling if react is loaded ([hoxyq](https://github.com/hoxyq) in
[#27323](#27323))
* fix[devtools/extension]: fixed duplicating panels in firefox
([hoxyq](https://github.com/hoxyq) in
[#27320](#27320))
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
…k#27320)

Multiple `chrome.panels.create` calls result into having duplicate
panels created in Firefox, these changes fix that.

Now calling `chrome.panels.create` only if there are no panels created
yet.
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
This is a patch version to fix some bugs in a previous internal release.
I am expecting this one also to be internal-only, need to make sure that
extension is stable in Chrome. Some changes and improvements are
expected for Firefox, though, before going public.

* refactor[devtools/extension]: handle ports disconnection, instead of
frequent reconnection ([hoxyq](https://github.com/hoxyq) in
[facebook#27336](facebook#27336))
* refactor[devtools/extension]: migrate from using setInterval for
polling if react is loaded ([hoxyq](https://github.com/hoxyq) in
[facebook#27323](facebook#27323))
* fix[devtools/extension]: fixed duplicating panels in firefox
([hoxyq](https://github.com/hoxyq) in
[facebook#27320](facebook#27320))
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
Multiple `chrome.panels.create` calls result into having duplicate
panels created in Firefox, these changes fix that.

Now calling `chrome.panels.create` only if there are no panels created
yet.

DiffTrain build for commit 7022e8d.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants