feat(briefwechsel): thumbnail rows with summary quote and bilateral distribution bar (#305) #311

Merged
marcel merged 30 commits from feat/issue-305-briefwechsel-thumbnail-rows into main 2026-04-23 21:38:57 +02:00
Showing only changes of commit 514f0174e3 - Show all commits

View File

@@ -27,7 +27,7 @@ let {
doc,
isOut,
showOtherParty,
now
now = new Date()
}: {
doc: Doc;
isOut: boolean;
@@ -46,9 +46,7 @@ const otherPartyName = $derived(
: ''
);
const relativeYearLabel = $derived(
doc.documentDate
? relativeYearsDe(new Date(doc.documentDate + 'T12:00:00'), now ?? new Date())
: ''
doc.documentDate ? relativeYearsDe(new Date(doc.documentDate + 'T12:00:00'), now) : ''
);
const directionLabel = $derived(isOut ? 'Gesendet' : 'Empfangen');
const ariaLabel = $derived(