Add parent widget to work items
What does this MR do and why?
This MR adds the parent widget to work items. Parent widget sets any Objective as a parent of Objective or Key results.
Note: Parent widget is not supported in Task currently as a Task can only be added under an issue.
Screenshots or screen recordings
Screen Recording 2023-10-11 at 11.17.14 PM.mov
How to set up and validate locally
Prerequisites:
- Enable the OKRs feature as mentioned in the OKRs docs (e.g.
::Feature.enabled?(:okrs_mvc, Project.find(<PROJECT_ID>))
and the namespace must have Ultimate plan).
Steps to verify:
- Login with any user
- Go to any Project > Issues > List
- Create an new Objective under New issue split button
- Go to Objective detail page
- Check for the
Parent
field with a dropdown - Select an Objective from the dropdown
- Check if the item is selected
- Click on the dropdown and click
Unassign
button - It should set
None
for theParent
field
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 #421611 (closed)
Edited by Rajan Mistry