Skip to content

Migrate `group_icon` to `Pajamas::AvatarComponent` to support `srcset`

Background

A lot of avatars rendered with HAML use the group_icon helper to render the avatar. This helper does not support adding the srcset attribute to improve rendering of images on retina screens. We have Pajamas::AvatarComponent that does support adding the srcset attribute out of the box so we should migrate to that.

Files to migrate

Implementation guide

See Migrate HAML project avatars to `Pajamas::Avata... (!135985 - merged) for a starting point