From e03fb38274e973db5af941765ef411d09d457c57 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 16 Apr 2026 16:14:32 +0200 Subject: [PATCH] feat(#221): add color dot to tag chips in DocumentList Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/DocumentList.svelte | 13 ++++++++++-- .../src/routes/DocumentList.svelte.spec.ts | 20 +++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/frontend/src/routes/DocumentList.svelte b/frontend/src/routes/DocumentList.svelte index bbcd609f..dce0853b 100644 --- a/frontend/src/routes/DocumentList.svelte +++ b/frontend/src/routes/DocumentList.svelte @@ -29,7 +29,7 @@ let { displayName: string; } | null; receivers?: { id?: string; firstName?: string | null; lastName: string; displayName: string }[]; - tags?: { id: string; name: string }[]; + tags?: { id: string; name: string; color?: string | null }[]; }[]; canWrite: boolean; error?: string | null; @@ -224,13 +224,22 @@ const showDividers = $derived(groupedDocuments.length >= 2); {#each doc.tags as tag (tag.id)}