feat: Mission Control Strip — contributor avatars per queue item #246
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?
Goal
Show 1–3 small contributor avatars (or initials) next to each document title in the Mission Control Strip columns (Segmentierung, Transkription, Lesefertig). This lets family members see at a glance who last worked on a document, creating social proof and encouraging participation.
Problem
The current
TranscriptionQueueItemDTOonly carriesid,title,documentDate,needsExpert, and block counts. There is no information about which users contributed annotations or transcription blocks to each document, so no avatars can be rendered.What is missing
Backend
DocumentRepositoryneeds to return the last N contributors (e.g.lastContributorIdsor a joined list ofapp_user_idvalues). This requires joiningdocument_annotationsand/ortranscription_blocksagainst a user/author column.document_annotationsandtranscription_blockscurrently have nocreated_by/author_idcolumn. That column needs to be added via a Flyway migration before contributors can be tracked.TranscriptionQueueItemDTOneeds a new field, e.g.List<ContributorSummary> lastContributorswhereContributorSummarycarriesid,displayName, and optionally an avatar URL or initials hint.TranscriptionQueueService.mapRow()needs to deserialize the new column(s).Frontend
ContributorAvatars.sveltecomponent that renders 1–3 circular initials badges (or<img>tags if a real avatar URL is available) with a+Noverflow label.SegmentationColumn,TranscriptionColumn, andReadyColumnall need to render<ContributorAvatars contributors={doc.lastContributors} />below or beside each document title.src/lib/generated/api.ts.Dependencies / open questions