-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Improve the appearance of user avatars in Jenkins #10180
Conversation
@@ -31,7 +31,7 @@ THE SOFTWARE. | |||
<l:header /> | |||
<l:side-panel> | |||
<l:tasks> | |||
<l:task contextMenu="false" href="${rootURL}/${it.url}/" icon="symbol-person" title="${%Status}"/> | |||
<l:task contextMenu="false" href="${rootURL}/${it.url}/" icon="symbol-person-circle" title="${%Status}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated - but keeps it consistent with the default user icon.
Why a circle instead of a rounded rectangle? The latter leaves more content visible. |
That's a good question, and one that I can't really answer with actual evidence. It's entirely subjective, but circular avatars align with contemporary design trends, are a little softer on the eye and I think nowadays they're rather synonymous with representing user avatars (so at a glance its more obvious what they are). |
Thanks! Not sure to what degree Jenkins should align with trends that seem to change faster than we're able to adapt (I would err on the side of "not"), but
seems like a good reason to do this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. |
How do you even set a user avatar?! |
Should this update not have been administered by those plugins? |
The extension point doesn't have a way of controlling the appearance of avatars, so this was the easiest way. |
User avatars are a little clunky right now in Jenkins, e.g. they're square, can be misaligned and low resolution. This small PR aims to fix those issues and make them presentable in Jenkins. Jenkins doesn't support avatars for users out of the box, but with plugins like Gravatar they appear across the system.
Before (user page)
After
Before (Command Palette)
After
Before (All users page)
After
Testing done
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
@jenkinsci/sig-ux
Before the changes are marked as
ready-for-merge
:Maintainer checklist