Skip to content

Refactor New Objective form to be more generic

Coung Ngo requested to merge cngo-refactor-objective-form into master

What does this MR do and why?

Refactor New Objective form to be more generic

Make the component more generic so we can reuse it for a New Epic form in a follow-up MR

No changelog as it is a refactor behind feature flag okrs_mvc

Issue: #392992 (closed)

Screenshots or screen recordings

No changes

Before After
Screenshot_2023-08-17_at_15-59-31_Issues___Flightjs___Flight_️___GitLab Screenshot_2023-08-17_at_15-59-05_Issues___Flightjs___Flight_️___GitLab

How to set up and validate locally

  1. In rails console
    Feature.enable(:okrs_mvc)
  2. Visit any issues list page such as http://127.0.0.1:3000/flightjs/flight/-/issues/
  3. Click the toggle button next to New issue and select New objective
  4. Confirm that creating an objective still works

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 Coung Ngo

Merge request reports