New work item modal on epic list page
What does this MR do and why?
Minimal attempt at Work items at the group level - create epic fro... (#429127 - closed)
Not as big as it looks! Diff is bigger due to moving some files around.
- Move most of
create_work_item.vue
frompages/
tocomponents/
- Make previous page a shell over the form component
- Show a modal when clicking "New epic" on epics list page, that creates an Epic Work Item
- If you pass a workItemType to the form, don't show the workItemTypes select field
- After creating epic, show the epic
What is broken:
- Currently missing all the fields except title (coming soon !144705 (closed))
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
How to set up and validate locally
- In rails console enable the feature flag
Feature.enable(:namespace_level_work_items) Feature.enable(:work_items_mvc_2) # not strictly needed but helps be up to date
- Visit Epics page for a group
- Click the New Epic button
- Create an Epic
To test existing work_items form:
- Go to work items new page (e.g.
http://gdk.test:3000/gitlab-org/gitlab-test/-/work_items/new
) - Enter title and select work item type
- Create work item
Edited by Simon Knox