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
+15
View File
@@ -0,0 +1,15 @@
export type UserNotification = {
id: string;
operationId?: string | null;
kind: string;
title: string;
message: string;
linkPath?: string | null;
createdAtUtc: string;
readAtUtc?: string | null;
};
export function notificationDateLabel(value: string): string {
const date = new Date(value);
return Number.isNaN(date.getTime()) ? "" : date.toLocaleString();
}