Repository navigation
refactor(platform): draw assignees and contacts with the shared Avatar - #4576
Conversation
|
ACCEPT — independent API-only review of #4576 at
CI snapshot at this head: 12 check runs total — 3 success, 7 skipped, 2 queued. Success: Opengrep, Opengrep OSS, PR scope. Pending: CI ready (SAST), job The completed Opengrep and scope job checkout logs bind the execution to that synthetic merge of the exact reviewed head/base. Opengrep reports 14 scanner findings but concludes success; its gate-test lines containing ERROR/WARNING are passing tests, not No clone, install, local tests, push, merge, rerun or cancel performed. No runtime, deployment or full-platform acceptance is implied. Next owner: implementer may strengthen the nonblocking test; Fleet coordination must resolve #4559 and route normal source-bound checks when the stack targets main. Retained evidence/report: TALE-1309 outputs for task |
fb3f9d3 to
59d52bc
Compare
f1874c3 to
e0cfe25
Compare
59d52bc to
d8d0483
Compare
e722196 to
0fc4440
Compare
d8d0483 to
c266110
Compare
0fc4440 to
4262d71
Compare
c266110 to
275bbed
Compare
4262d71 to
257ea90
Compare
275bbed to
245c81c
Compare
137c6ec to
628e49e
Compare
a30b67a to
9e78259
Compare
AssigneeAvatar and ContactInitials become thin wrappers over @tale/ui's Avatar, so a person reads in the same name-hashed tint on a board card, in a task's details and conversation, and in a contact list; the viewer keeps the filled primary circle, agents the soft primary bot, automations the neutral workflow glyph.
The design doc states the shared Avatar and its wrappers; TASK-F85 checks that a person looks the same on every surface.
A person's initials take the 800 step of their tint in light mode, so 10px initials clear 4.5:1 over the tint; the widest pairs (WW, MW, WM) show their first letter in the 20px circle. The conversation header's stacked chip draws its halo as a ring, which leaves the 20px face whole, and the Home row's contact avatar is a block again, level with the checkbox that takes its place.
628e49e to
321d48e
Compare
What
One avatar for everyone who appears in the app.
AssigneeAvatar(tasks) andContactInitials(conversations, Home) become thin wrappers over@tale/ui'sAvatar, added in #4559:Initials are never smaller than 10px; the old 20px chip used 8px. Accessible names are unchanged: assignees are named images, and contact initials stay decorative next to the written name.
Stacked on #4559 (independent of #4570 and #4575).
Verification
lint:manualandcheck-guideare clean.Docs
design/docs/app.mdgains an Avatars bullet.