Skip to content

design(task): add initials avatars to comments so the thread reads as a conversation - #212

Merged
johnpc merged 1 commit into
mainfrom
design/comment-avatars
Aug 2, 2026
Merged

design(task): add initials avatars to comments so the thread reads as a conversation#212
johnpc merged 1 commit into
mainfrom
design/comment-avatars

Conversation

@johnpc

@johnpc johnpc commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Design-polish pass — the task detail Comments thread, a surface that hadn't been reviewed.

Each comment led with the author's raw, repeated email ("test@example.com") in accent color and nothing else — so a busy thread was a noisy stack of identical email strings, impersonal and hard to scan, unlike Asana/Slack conversations that anchor each message with an avatar.

Fix (CSS + small markup, tokens only)

Added a small round initials avatar before each comment's author (a new CommentAuthor presentational component using the existing assigneeInitials helper; falls back to "You"). The badge reuses the card-avatar token style (--tf-accent-soft fill, accent text). Now the thread reads as a real conversation with per-author identity anchors.

Extracted the author line into its own component (CommentRow was near the 100-line limit) and added a unit test for it.

Before → after

Full quality gate green; presentational-only (surfaces existing data). Verified against the sandbox (AWS_PROFILE=personal).

@johnpc
johnpc merged commit 8eb72be into main Aug 2, 2026
78 checks passed
@johnpc
johnpc deleted the design/comment-avatars branch August 2, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant