From 94fb61541c5bfdacda9997e1929d76609ee6917f Mon Sep 17 00:00:00 2001 From: SheenaMalhotra182 <110394264+SheenaMalhotra182@users.noreply.github.com> Date: Fri, 3 Nov 2023 20:11:40 +0530 Subject: [PATCH] [ACS-5311] Notification History Bug Fix (#9011) * [ACS-5311] implemented read state for notifications and showing only unread notifications in history menu * [ACS-5311] linting fixes * [ACS-5311] linting fixes * [ACS-5311] fixed code smell * [ACS-5311] addressed review comments * [ACS-5311] addressed review comments * [ACS-5311] updated unit tests * [ACS-5311] addressed review comments and optimized unit tests * [ACS-5311] linting fix * [ACS-5311] addressed review comments * [ACS-5311] fixed typos * [ACS-5311] moved NOTIFICATION_STORAGE to notification.model.ts to reuse across repos * [ACS-5311] addressed review comments --- .../notification-history.component.html | 6 +- .../notification-history.component.spec.ts | 66 ++++++++++++++++--- .../notification-history.component.ts | 49 +++++++------- .../helpers/notification.factory.ts | 9 ++- .../models/notification.model.ts | 3 + 5 files changed, 95 insertions(+), 38 deletions(-) diff --git a/lib/core/src/lib/notifications/components/notification-history.component.html b/lib/core/src/lib/notifications/components/notification-history.component.html index 178a7b58c4e..aaff992988b 100644 --- a/lib/core/src/lib/notifications/components/notification-history.component.html +++ b/lib/core/src/lib/notifications/components/notification-history.component.html @@ -7,7 +7,7 @@ id="adf-notification-history-open-button" (menuOpened)="onMenuOpened()"> notifications @@ -21,7 +21,7 @@ (click)="$event.stopPropagation()">
{{ 'NOTIFICATIONS.TITLE' | translate }} -