feat(frontend): add countRequiredFilled utility with all 8 field-combination tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-18 14:05:09 +02:00
parent 14cfe8cae6
commit 93fc8696fd
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export function countRequiredFilled(title: string, dateIso: string, senderId: string): number {
return [title, dateIso, senderId].filter(Boolean).length;
}