Update create work item view with VueRouter navigation
What does this MR do and why?
This MR adds the VueRouter navigation to /new
route: now after creating work item the user is being redirected to the work item page via VueRouter, without page refresh.
This MR also modified work item breadcrumbs to render Issues
breadcrumb on the project pages.
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.
Screenshots or screen recordings
Before | After |
---|---|
before | after |
How to set up and validate locally
- In rails console enable work item alpha feature flag
Feature.enable(:work_items_alpha)
- Visit project work item create page such as
http://127.0.0.1:3000/flightjs/Flight/-/work_items/new
- Create new work item
- Check the router redirect to work item page
Edited by Natalia Tepluhina