Use 2x image source for avatars
What does this MR do and why?
This re-addresses a previous MR that used a fixed 48px image source size for avatars smaller than 48x48. There are other avatar sizes, notably 40x40, that still require a larger source image. It's easier to just use a 2x source image when the avatar is small instead of using a fixed size when the avatar is below a certain dimension.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Check out this branch on your GDK
- Navigate to http://gdk.test:3000/search?scope=users and search for a user who you know has an avatar image (not a gravatar)
- You should see that in the search results, any user with a real avatar image does not have a blurry avatar
Related to #452522 (closed), #425467 (closed)
Edited by Chad Lavimoniere