From f6796214eba490e8a7071a24e86c57217c7570a2 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 24 Nov 2026 12:37:30 +0200 Subject: [PATCH] feat: the customer user Home: the greeting and status line, Alarms, Dashboards and Devices in the main column, Notifications and Quick links beside them, without the AI Assistant, Customize Home or Hide (Quick links takes a hideable input) --- .../components/quick-links-home.component.html | 2 +- .../components/quick-links-home.component.ts | 3 +++ .../home-page/pages/customer-user-home.component.ts | 11 +++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/pages/home-page/components/quick-links-home.component.html b/ui-ngx/src/app/modules/home/pages/home-page/components/quick-links-home.component.html index f341630f4a..03b3a5b6bb 100644 --- a/ui-ngx/src/app/modules/home/pages/home-page/components/quick-links-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/home-page/components/quick-links-home.component.html @@ -4,7 +4,7 @@ SPDX-License-Identifier: BUSL-1.1 --> - + @if (loaded()) { @if (editing()) { diff --git a/ui-ngx/src/app/modules/home/pages/home-page/components/quick-links-home.component.ts b/ui-ngx/src/app/modules/home/pages/home-page/components/quick-links-home.component.ts index 39be0561f8..28498e78a4 100644 --- a/ui-ngx/src/app/modules/home/pages/home-page/components/quick-links-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/home-page/components/quick-links-home.component.ts @@ -10,6 +10,7 @@ import { ElementRef, inject, Injector, + input, signal, viewChild } from '@angular/core'; @@ -53,6 +54,8 @@ import { export class QuickLinksHomeComponent { readonly card = HOME_CARDS[HomeCardId.QUICK_LINKS]; + + hideable = input(true); readonly max = QUICK_LINKS_MAX; private store = inject(Store); diff --git a/ui-ngx/src/app/modules/home/pages/home-page/pages/customer-user-home.component.ts b/ui-ngx/src/app/modules/home/pages/home-page/pages/customer-user-home.component.ts index d8797e0e63..9a804cd98e 100644 --- a/ui-ngx/src/app/modules/home/pages/home-page/pages/customer-user-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/home-page/pages/customer-user-home.component.ts @@ -10,6 +10,17 @@ import { ChangeDetectionStrategy, Component } from '@angular/core'; +
+
+ + + +
+
+ + +
+
`, styleUrls: ['./tenant-admin-home.component.scss'],