As a user I want to see a summary header above the conversation so I know the scope before reading #31

Closed
opened 2026-03-20 12:30:16 +01:00 by marcel · 0 comments
Owner

Background

Once both persons are selected the conversation loads immediately, but there is no at-a-glance summary. The user has to scroll to the bottom to count documents or find the date range.

Desired behaviour

A compact info bar between the filter panel and the conversation list showing:

  • Document count (e.g. 14 Dokumente)
  • Date range (e.g. 1921 – 1947), omitted if no documents have dates

Implementation notes

Frontend only. Both values are fully computable from data.documents using $derived. Reuse the existing formatDate-adjacent patterns — extract year with doc.documentDate?.substring(0, 4).

Style: same visual weight as section subheadings elsewhere — text-xs font-sans uppercase tracking-widest text-gray-400, inline with a · separator.

## Background Once both persons are selected the conversation loads immediately, but there is no at-a-glance summary. The user has to scroll to the bottom to count documents or find the date range. ## Desired behaviour A compact info bar between the filter panel and the conversation list showing: - Document count (e.g. `14 Dokumente`) - Date range (e.g. `1921 – 1947`), omitted if no documents have dates ## Implementation notes **Frontend only.** Both values are fully computable from `data.documents` using `$derived`. Reuse the existing `formatDate`-adjacent patterns — extract year with `doc.documentDate?.substring(0, 4)`. Style: same visual weight as section subheadings elsewhere — `text-xs font-sans uppercase tracking-widest text-gray-400`, inline with a `·` separator.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marcel/familienarchiv#31