Resolve avatar size in commit item
What does this MR do and why?
This updates the avatar size for the commit item component. This is part of the UserAvatarList migration to GlAvatar &7767 (closed).
I followed this MR for reference > https://gitlab.com/gitlab-org/gitlab/-/merge_requests/83837
Screenshots or screen recordings
Before
| feature flag disabled | feature flag enabled |
|---|---|
![]() |
![]() |
After (this MR)
| feature flag enabled |
|---|
![]() |
Note: follow-up issue 👣
You may notice the spacing is a bit off here with the change. I want to keep the changes in this MR small and focused on the migration without introducing additional changes. I will resolve this iteratively in a follow up issue > #357907 (closed)
How to set up and validate locally
- Enable the feature flag by running:
echo "Feature.enable(:gl_avatar_for_all_user_avatars)" | rails c - Go to Merge requests > select a merge request with commits > click on the "Commits" tab
- Click on the "Add previously merged commits" button
- The avatar will appear similar to the expected screenshot
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #355857 (closed)
Edited by Samantha Ming


