Skip to content

FE - Create Objectives & include them in Issues list

Issue - gitlab-org/incubation-engineering/okr/meta#9 (closed)

What does this MR do and why?

Describe in detail what your merge request does and why.

  1. Add ability to add Objectives from issue list
  2. List the created Objectives in Issue List
  3. Link Objectives to new work-item show page
  4. Introduce Objective as type token in issue list search bar

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Create Objective from issue list screen

Screenshot_2022-11-08_at_3.35.50_PM

Objective type token addition to types filter in Issue list search bar

Before After
Screenshot_2022-11-02_at_10.40.42_AM Screenshot_2022-11-02_at_10.40.29_AM

Search results to only include Objective type if the filter is selected

Screenshot_2022-11-02_at_10.45.00_AM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable okrs_mvc feature flag
    Feature.enable(:okrs_mvc, Project.find(:id))
  2. Visit the project for which feature flag is enabled, pages such as http://127.0.0.1:3000/flightjs/Flight/-/issues
  3. Select type from search bar and you should be able to see Objective type
  4. Visit http://127.0.0.1:3000/flightjs/Flight/-/issue and you can enter title and create and objective
  5. Once create, you should be navigated to issue-list page.
  6. From Issue list page, on click of any Objective, it should be navigated to work-item-show page

MR acceptance checklist

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

Edited by Abhilash Kotte

Merge request reports