From a7e6355c635b23dd985a4e11c27dfc0ddc5860d1 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Fri, 23 Oct 2026 13:19:02 +0300 Subject: [PATCH] fix(iot-hub): reword the hint of the host set in Device connectivity "Set by the system administrator in Device connectivity settings." reads as "ask your administrator" on Cloud, where a tenant has no access to one. The hint is now "Set by the platform. The device connects to this host." It names the device, so it moves into HostFieldTransport (configuredHint) like the other hints, and a gateway entry can say "the gateway". --- .../device-install-dialog/device-install-dialog.component.ts | 5 ++++- ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 3011f8b57f..563e9adfdd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -100,6 +100,8 @@ interface HostFieldTransport { loopbackHint: string; // Review mode: the stored value is shown without its source reviewHostHint: string; + // Host set in Device connectivity: the fields are read-only + configuredHint: string; hostError: string; portError: string; helpPopupId: string; @@ -124,6 +126,7 @@ const HOST_FIELD_TRANSPORTS = new Map([ }, loopbackHint: 'iot-hub.device-install-mqtt-host-loopback-hint', reviewHostHint: 'iot-hub.device-install-mqtt-host-hint', + configuredHint: 'iot-hub.device-install-mqtt-host-configured-hint', hostError: 'iot-hub.device-install-transport-host-error', portError: 'iot-hub.device-install-transport-port-error', helpPopupId: 'iot-hub/device-connection-host', @@ -849,7 +852,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent