Use unique avatars for users without a Gravatar
Categories
(Webtools Graveyard :: Pontoon, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mathjazz, Assigned: vishnutekale13, Mentored)
Details
Attachments
(3 files)
Pontoon uses the same avatar for all users who don't have a Gravatar assigned to their email address:
https://github.com/mozilla/pontoon/blob/9a58c71/pontoon/base/models.py#L101
It's an image of a red panda, which gets confusing when multiple users without gravatars are shown at the same time (e.g. in the History panel or Contributors page).
We should instead use unique avatars, e.g. avatars with initials from names.
Resources:
https://eu.ui-avatars.com/
https://robohash.org/
https://www.libravatar.org/
Comment 1•6 years ago
|
||
This should be very easy to do. Matjaž, do you want to include this to the mentored list, or is it some high priority?
Reporter | ||
Comment 2•6 years ago
|
||
Good point!
We should do this:
https://eu.ui-avatars.com/#uppercase
Comment 3•6 years ago
|
||
@mathjazz I am working on this issue
Comment 4•6 years ago
|
||
mathjazz actually I was solving this issue
the thing I just want to confirm is actually I am doing some changes as per given issue but and I am trying to see my changes on local host but
I am not able to see it as on my localhost there was no history and contributors list is showing , it was empty so how Can I check whether red panda thing is still there or the gravatar we want is implemented there?
Reporter | ||
Comment 5•6 years ago
|
||
akshjain.jain74, you can just submit a translation and then you should have an item in History.
You will also need to drop the if not settings.DEBUG
in user_gravatar_url()
.
Comment 6•6 years ago
|
||
Hey Matjaz, I'd love to give it a try if no one else is working at the moment.
akshjain.jain74, are you still working on this?
Assignee | ||
Comment 8•5 years ago
|
||
Hey Matjaz, I think still its reopen. Didn't see any changes near pontoon/base/models.py#L101. Can I work on this?
Reporter | ||
Comment 9•5 years ago
|
||
Hey Vishnudas. Yes, the bug is still open. Feel free to work on it.
If you have any questions, please reach out in the #pontoon room on chat.mozilla.org.
Please also see our guide to first contribution:
https://mozilla-pontoon.readthedocs.io/en/latest/dev/first-contribution.html
Comment 10•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Updated•4 years ago
|
Description
•