Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] base_user_gravatar: use ui-avatars.com as fallback #1016

Closed
naglis opened this issue Oct 7, 2017 · 4 comments
Closed

[RFC] base_user_gravatar: use ui-avatars.com as fallback #1016

naglis opened this issue Oct 7, 2017 · 4 comments
Labels
question stale PR/Issue without recent activity, it'll be soon closed automatically.
Milestone

Comments

@naglis
Copy link
Contributor

naglis commented Oct 7, 2017

Hey,

saw this service on HN: ui-avatars.com - they allow to get an avatar with user's initials. What is nice is their URL can be passed to Gravatar.com as a fallback in case a user with given email does not have a Gravatar set.

Considerations

  • Does this idea sound good to others?
  • What if the service is short-lived (in which case we would simply get no fallback)?
  • If yes, do we adapt base_user_gravatar to allow extending and put this into a separate addon, or just extend base_user_gravatar?
  • They provide size/background/color/length/font-size/rounded customization - which of these (apart from size) do we want the user to be able to configure and how/where?
  • Although they state No usage tracking and no information is stored., I suggest we simply pass first letters of each name part in user's name?

CC @Endika @lasley

@lasley
Copy link
Contributor

lasley commented Oct 7, 2017

Interesting idea @naglis - I like the idea of a fallback avatar.

I wonder though - this is fairly simple to do in code vs. using an external service. Odoo already does something like it with the colored partner avatars. Have you played with this at all?

Regarding whether it should be an extension - that would probably be best yeah. I could see some instances in which this could be undesirable, although most of the ones I can think of are security related and why would a security conscious company be using Gravatar?

Configuration at the user level is probably a bit much. We could maybe sprinkle in a bit of randomization though, maybe add a tilt here and there or something.

@lasley lasley added this to the 10.0 milestone Oct 7, 2017
@lasley lasley added the question label Oct 7, 2017
@naglis
Copy link
Contributor Author

naglis commented Oct 10, 2017

Thanks for the feedback @lasley.

I haven't attempted anything with code yet (knowing my artistic abilities, I'd most likely bodge it). I guess something similar to this might work. I'll give it a try.

@LasseRafn
Copy link

The api and underlying code is also open source if you dont like relying on third party 👍

@github-actions
Copy link

github-actions bot commented Nov 6, 2022

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

3 participants