Resolve "Work items list - use thumbsup and thumbsdown"
What does this MR do and why?
This MR adds the up/down vote UI elements on the work items and epics list page when some flags are enabled for parity with the /epics
route unflagged. Each work item should have it visible, if the work item received any votes, beside the assignee icon.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
/work_items
route
Before | After |
---|---|
/epics
route
Before | After |
---|---|
How to set up and validate locally
- Enable the flags
work_item_epics_list
,work_item_epics
,work_item_epics_rollout
, andnamespace_level_work_items
- Go to the
/work_items
page (for example:http://localhost:3000/groups/flightjs/-/work_items
) - Like or dislike any work item on their detail page
- Go back to the
/work_items
page - Expect to see the up/down vote emojis on the right side of the work item
- Repeat the same steps for the
/epics
route and expect the same behavior, but now showing only the epics work item type (for example:http://localhost:3000/groups/flightjs/-/epics
)
Related to #476158 (closed)
Edited by Fernanda Toledo