WorkItems: Add edit button to health status widget
What does this MR do and why?
- Add edit button to health status widget, disable inline editing
- When not in edit mode, add a
h3
above the value as a landmark in the sidebar. In edit mode, visually hide it and put in label/field - Rename existing parent widget to
work_item_health_status_inline.vue
Issue: #429142 (closed)
Screenshots or screen recordings
KR 1 Key Result Flight Nov 27.mp4
https://www.loom.com/share/593a021da6a74dfb9c74590cbcf16d14
How to set up and validate locally
-
In rails console enable flags
Feature.enable(:okrs_mvc) Feature.enable(:work_items_mvc) Feature.enable(:work_items_mvc_2)
-
Visit any objective/keyresult work item, i.e.
http://127.0.0.1:3000/flightjs/Flight/-/work_items/43
. If you don't have any you can go to issue list page of a project and create an Objective` -
Edit the health status
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 #429142 (closed)
Edited by Nick Leonard