feat(geschichten): document filter chip — visible UI for ?documentId= filter #811
Reference in New Issue
Block a user
Delete Branch "feat/issue-803-geschichten-document-filter-chip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #803
Summary
?documentId=, fetches document title fromGET /api/documents/{id}in parallel with person resolution; returns{ id, title } | null. 403/404 fail-closed to{ id, title: null }(no throw, no logging). Invalid UUIDs pass through to the list API unchanged (option B → backend 400).Gefiltert nach Brief:prefix +font-serif italictitle,line-clamp-2 sm:truncate sm:max-w-[16rem], separate ≥44 px touch-target remove button,aria-live="polite".emptyMessageextracted as$derived.by()with person-wins precedence;removeDocumentnavigation helper strips?documentId=and preserves active person filters.geschichten_filter_document_chip,geschichten_filter_remove_document_chip,geschichten_empty_for_document.Test plan
npx vitest run --project=client src/routes/geschichten/...+--project=server)npm run lintclean?documentId=in the URLdocumentIdbut preserves activepersonIdparams🤖 Generated with Claude Code
b2b3eb0b1cto1de10986c3