feat(#153): notification history page (/notifications) #155

Merged
marcel merged 17 commits from feature/153-notification-history into main 2026-03-29 19:12:16 +02:00
Showing only changes of commit dc02ee165d - Show all commits

View File

@@ -202,7 +202,7 @@ function typeBadgeLabel(type: NotificationItem['type']): string {
{:else} {:else}
<ul <ul
role="list" role="list"
class="divide-y divide-line rounded-sm border border-line bg-surface shadow-sm" class="divide-y divide-line rounded-sm border border-line bg-canvas shadow-sm"
> >
{#each allNotifications as n (n.id)} {#each allNotifications as n (n.id)}
<li class="relative"> <li class="relative">
@@ -213,7 +213,7 @@ function typeBadgeLabel(type: NotificationItem['type']): string {
'flex min-h-14 flex-col justify-center border-l-[3px] px-4 py-4 md:px-6 md:py-5', 'flex min-h-14 flex-col justify-center border-l-[3px] px-4 py-4 md:px-6 md:py-5',
'transition-colors hover:bg-accent-bg', 'transition-colors hover:bg-accent-bg',
n.read n.read
? 'border-l-transparent bg-canvas' ? 'border-l-transparent'
: 'border-l-accent' : 'border-l-accent'
].join(' ')} ].join(' ')}
aria-label={m.notification_row_aria({ aria-label={m.notification_row_aria({