Skip to content

The avatar is one letter on Pluck green - #185

Merged
NiallJoeMaher merged 1 commit into
mainfrom
avatar-initial
Nov 24, 2026
Merged

NiallJoeMaher merged 1 commit into
mainfrom
avatar-initial

Conversation

@NiallJoeMaher

Copy link
Copy Markdown
Contributor

Summary

 avatar text
-  name or email, split on spaces, "@" and ".", first letter of the first two parts   ("NC" for an email with no name)
-  web: the first two characters of the name
+  initial(name, email): the first letter of the name, or of the email until there is one

 avatar colour
-  grey (the avatar token), ink text
+  brand green, on-brand text, in light and dark

One helper, initial in packages/shared-schemas, for the three places an avatar is drawn: the iPhone's Inbox header, its Settings, and the web's rail. The grey avatar token had no other use and is removed.

Evidence

  • Before: the iPhone drew "AB" on grey for Aoife Byrne, and two letters cut from the email's parts for an account with no name. The web drew "AO".
    After: "A" in white on the forest green, checked on the iOS 27.2 Simulator (Inbox and Settings, light and dark) and on the web rail (light and dark).
  • initial has four cases in format.test.ts: a name, a blank name falling back to the email, an accented first letter, and nothing at all ("?").
  • Typecheck, lint and the shared-schemas tests pass locally.

Merge Danger

Door: two-way

Blast Radius: cosmetic

The web changes on deploy. The iPhone and iPad change only with a new build. App Store frame 2 (the Inbox) still shows the old grey avatar.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B

It was two letters cut from the name or, with no name, from the email's parts ("NC" for n…@c…), on grey.
Now the first letter of the name, or of the email until there is one, on the brand green: the iPhone's Inbox and
Settings, and the web's rail. One helper for all three; the grey avatar token goes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B
Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pluck Ready Ready Preview Nov 24, 2026 7:53am UTC

Request Review

@NiallJoeMaher
NiallJoeMaher merged commit 457fe5c into main Nov 24, 2026
6 checks passed
@NiallJoeMaher
NiallJoeMaher deleted the avatar-initial branch November 24, 2026 08:02
NiallJoeMaher added a commit that referenced this pull request Nov 24, 2026
App Store iPhone frame 2 (the Inbox) in the ten languages, and the Chrome Web Store's Inbox and reader pictures,
retaken after #185.


Claude-Session: https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B

Signed-off-by: NiallJoeMaher <nialljoemaher@gmail.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
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