Skip to content

feat(GlAvatarLabeled): Add label & sublabel optional links

Jiaan Louw requested to merge gl-avatar-label-slots into main

What does this MR do?

This adds two new properties, label-link and sub-label-link, to GlAvatarLabeled for use cases where more than one avatar link is needed.

Required for admin/users avatar component &4961 (closed).

Screenshots

image

Kapture_2021-01-22_at_15.08.49

Does this MR meet the acceptance criteria?

Conformity

  • Code review guidelines.
  • GitLab UI's contributing guidlines.
  • If it changes a Pajamas-compliant component's look & feel, the MR has been reviewed by a UX designer.
  • If it changes GitLab UI's documentation guidelines, the MR has been reviewed by a Technical Writer.
  • If the MR changes a component's API, integration MR(s) have been opened in the following projects to ensure that the @gitlab/ui package can be upgraded quickly after the changes are released:
  • Added the ~"component:*" label(s) if applicable.

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
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #1120 (closed)

Edited by Jiaan Louw

Merge request reports