feat(notifications): open bell popover
CI and Deploy / test (pull_request) Failing after 2m55s
CI and Deploy / deploy (pull_request) Has been skipped

This commit is contained in:
cesnimda
2026-08-15 13:37:29 +02:00
parent 109745edb0
commit 998ee07a9a
13 changed files with 321 additions and 32 deletions
+3 -3
View File
@@ -101,7 +101,7 @@ export default function AppShell({
drawerOpen: boolean;
user?: { email?: string; userName?: string; displayName?: string; avatarImageDataUrl?: string; roleLabel?: string };
notificationsCount?: number;
onOpenNotifications?: () => void;
onOpenNotifications?: (anchorEl: HTMLElement) => void;
onOpenSettings?: () => void;
onOpenProfile?: () => void;
onSignOut?: () => void;
@@ -301,7 +301,7 @@ export default function AppShell({
size="small"
title={t("notifications")}
aria-label={t("notifications")}
onClick={onOpenNotifications}
onClick={(event) => onOpenNotifications?.(event.currentTarget)}
sx={{ border: "1px solid", borderColor: "divider", borderRadius: 2.5, width: 42, height: 42 }}
>
<Badge color="primary" badgeContent={notificationsCount || 0} max={99}>
@@ -363,7 +363,7 @@ export default function AppShell({
size="small"
title={t("notifications")}
aria-label={t("notifications")}
onClick={onOpenNotifications}
onClick={(event) => onOpenNotifications?.(event.currentTarget)}
sx={{ border: "1px solid", borderColor: "divider", borderRadius: 2 }}
>
<Badge color="primary" badgeContent={notificationsCount || 0} max={99}>