Show Progress on Work Items within Hierarchy tree
What does this MR do and why?
Note: This MR is another attempt at #386019 (closed) as the first MR !107219 (merged) was reverted due to master:foss-broken.
This MR adds support for Progress information within Hierarchy Tree Widget. This feature is part of &7864.
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 key objectives. - Visit one of sub-objective and provide a number for
Progress
. - Navigate back to parent objective and you should now see the progress bar in the tree view.
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 #386019 (closed), #386097, #386241 (closed)
Edited by Kushal Pandya