Skip to content

Add popular avatar sizes for user, group and project

Nikola Milojevic requested to merge 251085-update-allowed-avatar-sizes into master

What does this MR do?

It allows dynamic resizing for popular avatar sizes based on #227388 (comment 391901232)

  • USER AVATAR SIZES = [16, 20, 23, 24, 26, 32, 36, 38, 40, 48, 60, 64, 96, 120, 160]
  • PROJECT AVATAR SIZES = [15, 40, 48, 64, 88]
  • GROUP AVATAR SIZES = [15, 37, 38, 39, 40, 64, 96]

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #251085 (closed)

Merge request reports