Display a badge to indicate that a user is a GitLab Team Member
Problem
Community members cannot easily see when a GitLab employee is engaging with them on an issue, MR, Epic, etc
We also need to do this so that the GitLab team can see who's opened an issue for things like access requests.
Proposal
Using the logic implemented in !30884 (merged) display the following icon in these locations:
-
After the Opened by firstname lastname
before the emoji icon - !28257 (merged) -
After the firstname lastname
in issue/MR/epic lists - e.g. https://gitlab.com/gitlab-org/gitlab/-/issues before the emoji icon - !28257 (merged) -
After the @username
on issue/MR/epic/snippet comments (as per the below image) - !28243 (merged)-
Prevent wrapping of badge on mobile #214089 (closed)
-
Design
Tooltip that says GitLab Team Member
is displayed on hover.
Rule of thumb for placement of badge:
- If
@username
is displayed- The badge is displayed to the right of
@username
- The badge is displayed to the right of
- If
@username
is not displayed- The badge is displayed to the right of
firstname
lastname
(before the emoji)
- The badge is displayed to the right of
Feature Flag Checklist
Checklist to complete before enabling gitlab_employee_badge
feature flag
-
!30884 (merged) -
!28837 (closed) - (will be closed per this comment: !30884 (comment 336490054)) -
!29196 (merged) -
Ping security for a review -
Docs? ( @mjang1
has been pinged) -
Ensure feature flag checklist is complete on #207118 (closed)
Follow up issues
- User Profile - #213269 (closed)
- User Popover - #213271 (closed)
- User
@mentions
- #213272 (closed) - Issue/MR assignee - #216649 (closed)
Screenshots
Page | Before | After |
---|---|---|
Issue List | ||
MR List | ||
Epic List | ||
Issue | ||
MR |
Edited by Aishwarya Subramanian