Add work items weight widget
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 |
---|---|
![]() |
![]() |
How to set up and validate locally
- In rails console enable the feature flags
Feature.enable(:work_items) Feature.enable(:work_items_mvc_2)
- Visit a work item (e.g.
http://127.0.0.1:3000/h5bp/html5-boilerplate/-/work_items/1
) - 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #362550 (closed)
Edited by Coung Ngo