Add role badges component
What does this MR do and why?
On the Manage
-> Members
page, a list of members for the group/project are shown. When the members have a custom role or when their LDAP role is overridden with a manually-selected one, we show a badge next/under the role name, in both the table and the role details drawer that opens when the role is clicked:
![]() |
To avoid repeating the same code in both places, this MR creates a role_badges.vue
component that's shared. The MR also moves the drawer-related components into its own drawer/
folder, in preparation for a future MR.
How to set up and validate locally
Note:
- please enable FF
Feature.enable(:show_role_details_in_drawer)
- and make sure you're in the non sass environment
export GITLAB_SIMULATE_SAAS=0
, info
Please follow this video with audio commentary:
Related to #464104 (closed)
Edited by Samantha Ming