feat(person): show notable co-correspondents #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
User Journey
Klaus opens Marta's person page. He wants to understand who Marta's most important contacts were — but currently he has to read every document title and mentally track who appears most often.
With this feature, Klaus sees a small "Häufige Korrespondenten" section near the top showing the 5 people Marta wrote to or received from most: Hans (12), Maria (8), Peter (3). Each is a clickable chip linking to their person page. Klaus clicks Hans and immediately sees their shared correspondence.
High-Level Plan
Derive co-correspondent frequency from the already-loaded sent and received documents. Group by person, count, sort, take top 5. Render as clickable chips. Pure frontend — no backend changes or additional API calls.
Depends on: issue #1 (sent + received documents available on the page).
Detailed Plan
Frontend only
Frequency computation in
persons/[id]/+page.svelte:Render — show section only when
coCorrespondents.length > 0, placed between the header card and the statistics bar:i18n key
person_co_correspondents_heading:"Häufige Korrespondenten""Frequent correspondents""Corresponsales frecuentes"Acceptance Criteria