Skip to content

Add work items weight widget

Coung Ngo requested to merge 362550-add-work-items-weight into master

What does this MR do and why?

This MR adds a read-only work items weight widget with mock local data since the weight widget has not been implemented in the backend yet.

It also changes the work_item_assignees feature flag to work_items_mvc_2 so we can include the assignees and weight widgets as part of the same feature flag. This change was approved by @donaldcook.

  • This is the first MR of 2 to resolve #362550 (closed)
  • MR 2 will add the ability to edit the weight

Screenshots or screen recordings

work item detail page issue detail page modal
Screenshot_2022-06-01_at_12.35.08_pm Screenshot_2022-06-01_at_12.34.56_pm

How to set up and validate locally

  1. In rails console enable the feature flags
    Feature.enable(:work_items)
    Feature.enable(:work_items_mvc_2)
  2. Visit a work item (e.g. http://127.0.0.1:3000/h5bp/html5-boilerplate/-/work_items/1)
  3. Visit an issue with a work item task and open the modal (e.g. http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues/1)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #362550 (closed)

Edited by Coung Ngo

Merge request reports