Skip to content

Conversation

@iamAbhi-916
Copy link
Contributor

@iamAbhi-916 iamAbhi-916 commented Nov 20, 2025

Description

1>when we open devtools the current page target name which shows is React Native Windows (Experimental) this PR enhances it to more informative format that includes: App Name + Device Name
For example: text (CPC-abhij-UF5EG)

2> lint:fix removes deep imports from vnext/src-win/src/private/specs_DEPRECATED/components/Xaml/XamlHostNativeComponent.js.

Type of Change

  • New feature (non-breaking change which adds functionality)

Why

1>improves page name
2> removes deep imports from vnext/src-win/src/private/specs_DEPRECATED/components/Xaml/XamlHostNativeComponent.js

Resolves [Add Relevant Issue Here]
#15342
sub issue in : #15392

What

App Name is extracted from options.Identity ( didnt use ReactInstanceSettings::DebuggerRuntimeName() is rarely set by apps - it's an optional property that developers must explicitly configure.)
Device Name is the Windows computer name obtained via GetComputerNameW()

Screenshots

image

Testing

tested in playground.

Changelog

Should this change be included in the release notes: no_

Microsoft Reviewers: Open in CodeFlow

* visual studio 2026 strict check fix

* Add HostTargetMetadata with app name and device name for inspector page naming

* lint:fix

* Change files

* revert VS 2026 strict checks fix

* review comments
@iamAbhi-916 iamAbhi-916 requested a review from a team as a code owner November 20, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants