Skip to content

Update todo and notifications for work items

What does this MR do and why?

Use the new two-button layout used on issuables for work items.

This work is behind a feature flag (:notifications_todos_buttons) and a followup will be necessary to remove that later.

Screenshots or screen recordings

Before After
Screenshot_2024-02-23_at_15.05.45 Screenshot_2024-02-23_at_15.03.26

How to set up and validate locally

  1. Check out this branch in your GDK
  2. turn on the two relevant feature flags:
    1. echo "Feature.enable(:work_items_mvc_2)\nFeature.enable(:notifications_todos_buttons)" | gdk rails c
  3. visit a work item (task or OKR for example).
  4. You will see that the new two-button todo and notification management is in place and that notification management is no longer present in the "More options" menu for the work item. The Todo button has also been fixed to use the btn-icon class.

Related to #431932 and #424397 (closed)

Edited by Chad Lavimoniere

Merge request reports