Add Attention Request icon to MR List users
What does this MR do and why?
For #343327 (closed)
Adds the "attention" icon in the MR list if a request for their attention is currently active.
Screenshots or screen recordings
The orange-colored attention icon is added to the MR List assignees/reviewers, and includes a tooltip.
Icon |
---|
The tooltip varies based on the scenario:
Assignee or Reviewer | Attention Requested | Attention Not Requested |
---|---|---|
Assignee | ||
Reviewer |
Scenario | Images |
---|---|
User in assignees & reviewers, user in reviewers | Sidebar: MR List: |
User in reviewers only | Sidebar: MR List: |
User in assignees only | Sidebar: MR List: |
How to set up and validate locally
- Enable the
mr_attention_requests
Feature Flag - Create an MR
- Assign it to or request a review from a user
- Click the "Request attention" to the left of their name
- Navigate to the list of issues (filtering / searching as necessary to find the MR you created)
- Gaze in wonder
- (optionally) Hover the icon to see the tooltip
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Thomas Randolph