Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

🎨 Added gravatars for member avatars #1417

Merged
merged 11 commits into from
Dec 3, 2019
Merged

Conversation

naz
Copy link
Contributor

@naz naz commented Nov 26, 2019

  • When an email has a valid gravatar handle it displays an image instead of initials for the member

TODO:

  • styles

@rishabhgrg would love a second pair 👀 on the Ember code. Thaaanks!

@naz naz marked this pull request as ready for review November 27, 2019 07:07
@naz
Copy link
Contributor Author

naz commented Nov 27, 2019

@peterzimon Styling is pretty much done here but would need your opinion on the animation and general looks (both were taken almost 1:1 from user avatar styles with minor adjustments)

@naz naz force-pushed the members-gravatar branch 2 times, most recently from e8daedb to cc34c9b Compare December 3, 2019 05:35
naz and others added 10 commits December 3, 2019 17:55
no issue

- When an email has a valid gravatar handle it displays an image instead of initials for the member
- Very much inspired by user gravatar styling with the difference of having initials as a placeholder when there is no gravatar for given email
- Helper is reusable and could be applied in other places
- Aslo solves a problem of flickering images when loading a component
- There is a need to duplicate class property useage in the component and doing that through splatttibute feature is unsafe as pointed ou here
@naz naz merged commit ab2ef2d into TryGhost:master Dec 3, 2019
@naz naz deleted the members-gravatar branch December 3, 2019 11:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants