Skip to content

feat(team): use gravatar for avatar when email is set - #5

Merged
gmermoud merged 1 commit into
mainfrom
improve-team
Mar 18, 2026
Merged

feat(team): use gravatar for avatar when email is set#5
gmermoud merged 1 commit into
mainfrom
improve-team

Conversation

@gmermoud

Copy link
Copy Markdown
Contributor

Summary

  • Avatar resolution order: explicit picture: field → Gravatar (derived from email: via MD5) → coloured initials
  • Falls back to the mystery-person placeholder (d=mp) if no Gravatar is registered for the email
  • No new dependencies — uses stdlib hashlib

Test plan

  • Verify team members with an email but no picture: field show a Gravatar (or placeholder) instead of initials
  • Verify team members with a picture: field still use the explicit photo
  • Verify team members with neither email nor picture still show coloured initials

@gmermoud
gmermoud merged commit eb7590b into main Mar 18, 2026
1 check passed
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