Enhanced Status Bar with Packager Port and Device Indicator#2557
Merged
ConnorQi01 merged 2 commits intomasterfrom Mar 16, 2026
Merged
Enhanced Status Bar with Packager Port and Device Indicator#2557ConnorQi01 merged 2 commits intomasterfrom
ConnorQi01 merged 2 commits intomasterfrom
Conversation
- Display packager port number in status bar (e.g., ":8081") - Add DeviceStatusIndicator to show current debugging device - Clean up device indicator on debug session end - Expose getResolvedTarget() method in GeneralMobilePlatform
…tive into dev/v-peq/statusBar_enhancement
Collaborator
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
EmmaYuan1015
approved these changes
Mar 16, 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
This PR enhances the status bar to provide better visibility into the debugging environment by:
Changes
1. Packager Port Display
PackagerStatusIndicatorto show the port number (e.g.,:8081) next to the packager iconFiles changed:
src/common/packager.ts- Pass port to status indicatorsrc/extension/packagerStatusIndicator.ts- Display port in status bar text2. Device Status Indicator
DeviceStatusIndicatorclass to show currently connected device/simulatorFiles changed:
src/extension/deviceStatusIndicator.ts- New status indicator componentsrc/extension/appLauncher.ts- Show device name when app launchessrc/debugger/debugSessionBase.ts- Hide indicator on session endsrc/extension/generalMobilePlatform.ts- ExposegetResolvedTarget()method3. Code Cleanup
rnDebugSession.tsandcleanRestartPackager.tsScreenshots
Before:
After:
Testing
Benefits