From 4c7ca5bfd61346be7dcc84cce1b990a9debb1eb0 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Fri, 3 Apr 2026 17:14:58 +0300 Subject: [PATCH] Refine installed items page styling and handle dialog results - Update table type chips, update column, and filter panel to match design - Add afterClosed handling to viewItemDetails and viewUpdateDetails dialogs - Reload table data when items are updated or deleted from detail dialog --- .../iot-hub-installed-items.component.html | 69 ++++---- .../iot-hub-installed-items.component.scss | 166 ++++++++++++------ .../iot-hub-installed-items.component.ts | 16 +- .../iot-hub-item-detail-dialog.component.html | 4 +- .../assets/locale/locale.constant-en_US.json | 2 +- 5 files changed, 168 insertions(+), 89 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.html index 4fdc4ecf20..4139763f5c 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-installed-items.component.html @@ -29,7 +29,7 @@ @if (isCheckingUpdates) { } @else { - sync + update } {{ 'iot-hub.check-for-updates' | translate }} @@ -38,10 +38,22 @@
- + + @for (type of allItemTypes; track type; let last = $last) { +
+ + {{ getItemTypeLabel(type) }} + +
+ @if (!last) { + + } + } +
@if (hasActiveFilters()) { @for (type of activeTypeFilters; track type) { @@ -65,18 +77,7 @@
- - @if (filterOpen) { -
- @for (type of allItemTypes; track type) { - - {{ getItemTypeLabel(type) }} - - } -
- } - - +
@@ -110,18 +111,20 @@ - +
{{ 'iot-hub.updates' | translate }}@if (updatesChecked) { {{ 'iot-hub.updates' | translate }} } @if (updatesChecked) { @if (getPublishedVersionInfo(item); as pubInfo) { @if (pubInfo.publishedVersionId !== item.itemVersionId) { - - arrow_upward - v{{ pubInfo.publishedVersion }} {{ 'iot-hub.available' | translate }} - - +
+ + +
} @else { check @@ -146,7 +149,7 @@ -