Skip to content

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
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open rails console by running bin/rails console within GDK directory.
  2. Enable the feature flag :hierarchy_db_restrictions on a project; Feature.enable(:hierarchy_db_restrictions).
  3. Enable the feature flag :okrs_mvc on the same project; Feature.enable(:okrs_mvc).
  4. Visit issues list page for the project by navigating to http://gdk.test:3000/gitlab-org/gitlab-test/-/issues.
  5. Create an objective by clicking on dropdown button next to New issue and selecting New objective from the dropdown.
  6. Once objective is created, click on it to visit its Work Item page, you should be able to see Tree View below the description.
  7. Use Add dropdown button create/add child objectives or key results.
  8. Visit one of child items and set Health Status.
  9. 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.

Related to #385074 (closed)

Edited by Kushal Pandya

Merge request reports