Skip to content

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
Screenshot_2024-08-02_at_4.31.35_PM Screenshot_2024-08-02_at_4.18.03_PM

/epics route

Before After
Screenshot_2024-08-02_at_4.38.18_PM Screenshot_2024-08-02_at_4.38.02_PM

How to set up and validate locally

  1. Enable the flags work_item_epics_list, work_item_epics, work_item_epics_rollout, and namespace_level_work_items
  2. Go to the /work_items page (for example: http://localhost:3000/groups/flightjs/-/work_items)
  3. Like or dislike any work item on their detail page
  4. Go back to the /work_items page
  5. Expect to see the up/down vote emojis on the right side of the work item
  6. 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

Merge request reports

Loading