Allow creating new issue as work item from `/new` route
What does this MR do and why?
This MR enables /issues/new
route to have a work item create form. This allows us to navigate to issue page via VueRouter as soon as new work item is created
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- In rails console enable the work item view preference feature flag
Feature.enable(:work_items_view_preference)
- Visit any project issues list page such as
http://127.0.0.1:3000/flightjs/Flight/-/issues
- In the top right corner, enable work item view with the switch
- Navigate to
/new
page:http://127.0.0.1:3000/flightjs/Flight/-/issues/new
- Create a new issue and make sure you are being redirected to issue page with VueRouter.
Edited by Natalia Tepluhina