-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Can the User Icons be Customised? #754
Comments
Icons are generated using |
In a work environment, for example, it could be nice to have a small image of the user's face, for example, or perhaps initials instead (means that I know that commits showing up with a TA image are myself, rather than an icon that looks like a green balloon). I assume you could leverage the user having a gravatar account, but less idea for an office environment. It was more a passing idea than anything, as someone asked why I "gave them the pink robot." |
I think using initials would be possible |
You can use this: https://ui-avatars.com/ Example: |
Because we do something different with subversion, our commits do not have emails for the commit, instead just have a user name like jsmith. If I could do something like configure the gravatar like,
that would be cool, but it's a use-case that isn't worth any effort. Then we could set up a gravatar account just to hold developer pixs. |
@JohnstonCode , maybe we can create a option to allow customization, with placeholders |
@marvingreenberg It can be change to tkae usernames. My svn setup uses usernames over emails. @edgardmessias Yes creating an option would be good. I need to have a real good look at the history stuff. Lots of issues rasied against it. |
@JohnstonCode I don't understand exactly. My svn setup uses usernames like yours. But you said the icon does a lookup in gravatar. There is no way to tell GRAVATAR to store an image for just a user name, like "jsmith" it has to be a unique email address like [email protected] That was why I was suggesting you allow customizing the way the author is resolved to a hash. And actually, if you made that whole bit of "javascript"
an internal configuration setting, but without any UI or anything, folks who cared could do things like switch from "robohash" to "monsterid" if they wanted to, or stand up their own "gravatar-like" server for their company (if they're insane). P.S. there is a minor typo in johnstoncode.svn-scm for the svn:Gravatars settings ("use garavatar icons" instead of "use gravatar icons") |
Currently it is randomly generated based on the MD5 hash of the author. But using somethnig like |
Just to be clear, I'm suggesting that a simple short term thing might be to add a new setting,
Then folks could customize it, to use a different gravatar default or even default to ui-avatar.com like
which might not work without more work depending on the value of author |
🎉 This issue has been resolved in version 2.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
i know this is closed but just a question and seemed senseless to open another ticket, i didn't know we had gravatar integration in the extension, that's cool, I'm confused too though, you mentioned you got this to work with just using usernames without the domain part of an email, how are you doing that? |
Will display the icons as initials |
yeah, i meant to use the actual gravatar icons though, without the ui-avatars. For example, a <AUTHOR<AUTHOR_DOMAIN>_MD5> type tag that would take an SVN username of 'smeesseman' and convert it to '[email protected]' before creating the MD5 hash to make the request to gravatar. I thought about it and its really not as simple as just an extra placeholder tag, but definitely possible. Would you accept a pull request if I could think up a good way to accomplish this? |
Yeah |
When using Subversion in VSCode, each different person that commits to the branch is given a little icon. These also appear to be consistent between different Projects. I can't see anything about the icon in SVN itself, so I assume these come from the extension, rather than Subversion (please correct me if this assumption is wrong).
If they are from the extension, is there are change the images? Ones I'm referencing can be seen in the image below the Pink, White, Orange and Green icons.

The text was updated successfully, but these errors were encountered: