Skip to content

Use widget presence check for rendering Hierarchy widget

What does this MR do and why?

Check if Hierarchy widget is present while rendering Work Item detail view to show/hide hierarchy widget instead of relying on Work Item type

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

image

How to set up and validate locally

  1. Enable OKRs on any project
  2. Create an Objective in that project
  3. Visit Objective and it should show hierarchy widget
  4. Create a child Key Result of same objective
  5. Visit the Key Result and it should not show hierarchy widget

Merge request reports