refactor(briefwechsel): TagChipList defaults max to 3
Some checks failed
CI / Unit & Component Tests (push) Failing after 2m51s
CI / OCR Service Tests (push) Successful in 30s
CI / Backend Unit Tests (push) Failing after 2m56s

Makes `max` an optional prop with default 3 — the common row-layout
case doesn't need to name the cap explicitly. ThumbnailRow's callsite
drops to `<TagChipList tags={doc.tags ?? []} />`, consistent with how
other shared components in $lib/components expose sensible defaults.

Refs #305
Fixes @leonievoss round-2 follow-up from PR review

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit was merged in pull request #311.
This commit is contained in:
Marcel
2026-04-23 21:08:33 +02:00
committed by marcel
parent f5a30c71b7
commit 503ce49ef7
3 changed files with 9 additions and 2 deletions

View File

@@ -91,6 +91,6 @@ const ariaLabel = $derived(
{/if}
</div>
<TagChipList tags={doc.tags ?? []} max={3} />
<TagChipList tags={doc.tags ?? []} />
</div>
</a>