From ac41671467322ec947dbf90de07f5152bc3348a1 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Tue, 7 Jul 2026 22:03:31 +0530 Subject: [PATCH] refactor(notifications): streamline NotificationsDropdown UI and remove unused components - Simplified the styling of notification count indicators for better visual consistency. - Enhanced the empty state layout for improved user experience. - Removed the ConnectAgentDialog from PlaygroundSidebar to declutter the UI. --- .../layout/ui/sidebar/NotificationsDropdown.tsx | 11 ++++------- .../layout/ui/sidebar/PlaygroundSidebar.tsx | 4 ---- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/surfsense_web/components/layout/ui/sidebar/NotificationsDropdown.tsx b/surfsense_web/components/layout/ui/sidebar/NotificationsDropdown.tsx index bf3ce4322..f9441d2c3 100644 --- a/surfsense_web/components/layout/ui/sidebar/NotificationsDropdown.tsx +++ b/surfsense_web/components/layout/ui/sidebar/NotificationsDropdown.tsx @@ -329,10 +329,7 @@ export function NotificationsDropdown({ > {tab.label} {formatNotificationCount(tab.count)} @@ -406,7 +403,7 @@ export function NotificationsDropdown({ ) : null} ) : ( -
{emptyStateCopy.title}
{emptyStateCopy.description}
{hasMore ? ( @@ -438,7 +435,7 @@ export function NotificationsDropdown({ >