Show Health Status on Work Items within Hierarchy
What does this MR do and why?
This MR adds support for showing Health Status within Hierarchy Tree Widget. This feature is part of &7864.
Additionally, this MR also splits the work_item_link_child_metadata.vue
to be isolated for FOSS and EE for maintenance ease.
Screenshots or screen recordings
Desktop | Mobile |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Open rails console by running
bin/rails console
within GDK directory. - Enable the feature flag
:hierarchy_db_restrictions
on a project;Feature.enable(:hierarchy_db_restrictions)
. - Enable the feature flag
:okrs_mvc
on the same project;Feature.enable(:okrs_mvc)
. - Visit issues list page for the project by navigating to
http://gdk.test:3000/gitlab-org/gitlab-test/-/issues
. - Create an objective by clicking on dropdown button next to
New issue
and selectingNew objective
from the dropdown. - Once objective is created, click on it to visit its Work Item page, you should be able to see Tree View below the description.
- Use
Add
dropdown button create/add child objectives or key results. - Visit one of child items and set Health Status.
- Go back to parent objective and the tree should show Health Status for items where it was set.
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 #385074 (closed)
Edited by Kushal Pandya