Closed Bug 1604038 Opened 6 years ago Closed 5 years ago

Use unique avatars for users without a Gravatar

Categories

(Webtools Graveyard :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

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/

This should be very easy to do. Matjaž, do you want to include this to the mentored list, or is it some high priority?

Flags: needinfo?(m)

Good point!

We should do this:
https://eu.ui-avatars.com/#uppercase

Mentor: m
Flags: needinfo?(m)

@mathjazz I am working on this issue

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?

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().

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?

Flags: needinfo?(m)
Flags: needinfo?(akshjain.jain74)

:sviho, go ahead.

Flags: needinfo?(m)

Hey Matjaz, I think still its reopen. Didn't see any changes near pontoon/base/models.py#L101. Can I work on this?

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

Flags: needinfo?(akshjain.jain74)
Assignee: nobody → vishnutekale13
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: