Trigger work item update subscription when parent progress is updated
What does this MR do and why?
This MR triggers Graphql subscription to update work item whenever parent's progress is changed via rollups.
Screenshots or screen recordings
Before | After |
---|---|
https://www.loom.com/share/81eecf8f99df4a8dbaa3ba6967b69393 | https://www.loom.com/share/a78558db35fb4c749cd1e13859bbc080 |
How to set up and validate locally
- Open rails console by running
bin/rails console
within GDK directory. - Enable the feature flag
:okrs_mvc
on the same project;Feature.enable(:okrs_mvc)
. - Enable the feature flag
:work_items_mvc
on the same project;Feature.enable(:work_items_mvc)
. - Enable the feature flag
:work_items_mvc2
on the same project;Feature.enable(:work_items_mvc2)
. - 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 results. - Click Key Result you should be able to see a modal and update progress
- On closing the modal, parent's progress should be auto updated.
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.