Skip to content

WI - OKRs always display progress, 0% by default

What does this MR do and why?

For objective and key result work items, make progress 0 by default.

Behind :okrs_mvc feature flag.

Screenshots or screen recordings

Before After
Screenshot_from_2023-01-11_10-22-03 Screenshot_from_2023-01-11_09-59-34

How to set up and validate locally

  1. Open rails console by running bin/rails console within GDK directory.
  2. Enable the feature flag :okrs_mvc on the same project; Feature.enable(:okrs_mvc).
  3. Visit issues list page for the project by navigating to http://gdk.test:3000/gitlab-org/gitlab-test/-/issues.
  4. Create an objective by clicking on dropdown button next to New issue and selecting New objective from the dropdown.
  5. Once objective is created, click on it to visit its Work Item page, you should be able to see Tree View below the description.
  6. Use Add dropdown button create/add key objectives.
  7. Progress should always display, at 0%.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #386117 (closed)

Edited by Florie Guibert

Merge request reports