Skip to content

Adapt BoardCardInner to updated `<user-avatar-link/>`

What does this MR do and why?

Ensures that avatar in board_card_inner.vue is properly rendered when we switch user_avatar_link to GlAvatar

NOTE: the GlAvatar will be used by user-avatar-link when gl_avatar_for_all_user_avatars feature flag is on

Fixes #355862 (closed), parent epic &7731 (closed)

Screenshots or screen recordings

desktop mobile
localhost_3000_h5bp_html5-boilerplate_-boards__1 localhost_3000_h5bp_html5-boilerplate_-boards__2

How to set up and validate locally

  1. Open a project board, e.g. http://localhost:3000/h5bp/html5-boilerplate/-/boards
  2. Switch the feature on and off Feature.enable(:gl_avatar_for_all_user_avatars) and note how the avatar on a board card looks
  3. Note how the avatar looks on mobile view

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kos Palchyk

Merge request reports