Add support for viewing and creating objectives within an objective in a hierarchy tree
Compare changes
Files
27@@ -35,8 +39,23 @@ export default {
@@ -55,55 +74,116 @@ export default {
This MR adds ability to view children Objectives and Key Results within an Objective created under a project, it also allows for creating or adding an existing objective from the hierarchy tree view.
The tree view currently doesn't support creating or adding Key Result, it will be added once #381833 (closed) & #385084 (closed) are addressed.
Tree View Empty State | Tree View with Objectives |
---|---|
![]() |
![]() |
Objective with Indirect Children | Objective with NO Indirect Children |
---|---|
![]() |
![]() |
Numbered steps to set up and validate the change are strongly suggested.
bin/rails console
within GDK directory.:hierarchy_db_restrictions
on a project; Feature.enable(:hierarchy_db_restrictions, Project.find_by_full_path('gitlab-org/gitlab-test'))
.:okrs_mvc
on the same project; Feature.enable(:okrs_mvc, Project.find_by_full_path('gitlab-org/gitlab-test'))
.http://gdk.test:3000/gitlab-org/gitlab-test/-/issues
.New issue
and selecting New objective
from the dropdown.Add
dropdown button create/add objectives.This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.