Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(connect): let hosts set their display name #18924

ClosedPixPMusic(GitHub profile, opens in a new tab)wants to merge 30 commits intomain fromrefs/pull/18924/headopened View on GitHub

Showing 94 changed files with 2 additions and 1 deletion (loading 93).

x
0 of 94 viewed, 94 left
2 additions and 1 deletionapps/mobile/src/features/connection/ConnectionDiagnosisDetails.tsxModified
View file
@@ -4,6 +4,7 @@
type ConnectionDiagnosis,
connectionDiagnosisText,
connectionRoutes,
+ environmentDisplayLabel,
hasRelayRoute,
presentConnectionDiagnosis,
type EnvironmentPresentation,
@@ -37,7 +38,7 @@
const relayOnly =
connectionRoutes(presentation.entry).length === 1 && hasRelayRoute(presentation.entry);
const diagnosis = presentConnectionDiagnosis({
- hostLabel: presentation.entry.target.label,
+ hostLabel: environmentDisplayLabel(presentation.entry, presentation.serverConfig),
state,
via: relayOnly ? "relay" : "direct",
clientVersion: Constants.expoConfig?.version,
apps/mobile/src/features/connection/ConnectionEnvironmentRow.tsxModified
View file
Loading the diff
apps/mobile/src/features/connection/PullRequestRoutingSettings.tsxModified
View file
Loading the diff
apps/mobile/src/features/connection/environmentUpdate.test.tsAdded
View file
Loading the diff
apps/mobile/src/features/connection/environmentUpdate.tsAdded
View file