From af38b9592431566d660190e2c8afbe02c2764a7c Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 1 Apr 2026 19:55:11 +0300 Subject: [PATCH] Add per-type item pages with separate routes and hero sections - Create TbIotHubItemsPageComponent with hero section (title, description, illustration, installed items button, contribute link) per item type - Add separate routes: /iot-hub/widgets, /iot-hub/dashboards, /iot-hub/solution-templates, /iot-hub/calculated-fields, /iot-hub/rule-chains, /iot-hub/devices - Remove old /iot-hub/browse route, update all navigation links - Browse component: add @Input activeType and hideTabs for embedded use - Home component: navigateToBrowse now routes to type-specific pages - Add item type page description translations --- .../iot-hub/iot-hub-browse.component.html | 2 +- .../iot-hub/iot-hub-browse.component.scss | 4 + .../pages/iot-hub/iot-hub-browse.component.ts | 22 ++-- .../pages/iot-hub/iot-hub-home.component.ts | 17 ++- .../iot-hub/iot-hub-items-page.component.html | 52 ++++++++ .../iot-hub/iot-hub-items-page.component.scss | 92 ++++++++++++++ .../iot-hub/iot-hub-items-page.component.ts | 115 ++++++++++++++++++ .../pages/iot-hub/iot-hub-routing.module.ts | 64 ++++++++-- .../home/pages/iot-hub/iot-hub.module.ts | 2 + .../assets/locale/locale.constant-en_US.json | 6 + 10 files changed, 356 insertions(+), 20 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.html create mode 100644 ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.scss create mode 100644 ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-browse.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-browse.component.html index c0d3ac14c3..ff53654fca 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-browse.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-browse.component.html @@ -17,7 +17,7 @@ -->
-