Avatar: Refactor img to use GlAvatar
What does this MR do and why?
This is a follow-up to the reverted MR Avatar: Refactor to use gl-avatar (!163899 - merged)
We'll split up the changes into smaller pieces to not introduce any regressions. This MR only alters the following:
- Refactors
<img>to useGlAvatar(Vue only) - Removes
.avatar-cellCSS class in favor of the utility class.gl-self-start
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 |
|---|---|
| Board list header | |
![]() |
![]() |
| Assignee avatar | |
![]() |
![]() |
| Reviewer avatar | |
![]() |
![]() |
| MR widget author | |
![]() |
![]() |
| Commits | |
![]() |
![]() |
How to set up and validate locally
- Board list header: http://gdk.test:3000/groups/flightjs/-/boards/3?assignee_username=arie.wyman
- Assignee avatar: http://gdk.test:3000/flightjs/Flight/-/merge_requests/4
- Reviewer avatar: http://gdk.test:3000/flightjs/Flight/-/merge_requests/4
- MR widget author: (Merged MR, e.g. http://gdk.test:3000/flightjs/Flight/-/merge_requests/1)
- Commits: http://gdk.test:3000/flightjs/Flight/-/commits/master?ref_type=heads
Related to #474921 (closed)
Edited by Sascha Eggenberger









