Skip to content

disable "Open Debugger" menu item if the bundler is disconnected#42876

Closed
EdmondChuiHW wants to merge 1 commit into
react:mainfrom
EdmondChuiHW:export-D53428914
Closed

disable "Open Debugger" menu item if the bundler is disconnected#42876
EdmondChuiHW wants to merge 1 commit into
react:mainfrom
EdmondChuiHW:export-D53428914

Conversation

@EdmondChuiHW

@EdmondChuiHW EdmondChuiHW commented Feb 5, 2024

Copy link
Copy Markdown
Contributor

Summary:
Changelog:
[Android][Fixed] Disable the "Open Debugger" item from dev menu if the bundler is disconnected

Existing

In our dev menu, the "Open Debugger" menu item is shown even if the packager isn't connected.

{F1451833462}

In this PR

The "Open Debugger" menu item is disabled when the packager is disconnected with the message "Connect to the bundler to debug JavaScript"

{F1451834019}

Reference

  • There are existing checks, but they're async. We don't need the check to be accurate; and we don't want to delay the dev menu from opening
  • Also on iOS: D53354110

Differential Revision: D53428914

@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 Feb 5, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@analysis-bot

analysis-bot commented Feb 5, 2024

Copy link
Copy Markdown
Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,233,732 +448
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 20,600,535 +424
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: db066ac
Branch: main

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

…ct#42876)

Summary:

Changelog:
[Android][Fixed] Disable the "Open Debugger" item from dev menu if the bundler is disconnected

# Existing
In our dev menu, the "Open Debugger" menu item is shown even if the packager isn't connected.

{F1451833462}

# In this PR
The "Open Debugger" menu item is disabled when the packager is disconnected with the message "Connect to the bundler to debug JavaScript"

{F1451834019}

# Reference
* Also on iOS: D53354110

Differential Revision: D53428914
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Feb 9, 2024

Copy link
Copy Markdown

This pull request was successfully merged by @EdmondChuiHW in 7afc8b8.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions Bot added the Merged This PR has been merged. label Feb 9, 2024
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.

3 participants