Skip to content

New work item modal on epic list page

Simon Knox requested to merge psi-new-new-epic into master

What does this MR do and why?

  • Add the create work item form to the epic list page in a modal
  • if you pass a workItemType to the form, don't show the workItemTypes select field
  • After creating epic, show the epic in a modal
  • When closing the modal return to the list page

What is broken:

  • You can only open the modal once
  • Currently missing all the fields except title (coming soon)
  • work item URL is wrong on epics page (has work item iid in place of epic iid)

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

wi-epic

How to set up and validate locally

  1. In rails console enable the experiment fully
    Feature.enable(:namespace_level_work_items)
    Feature.enable(:work_items_mvc_2)
  2. Visit Epics page for a group
  3. Click the New Epic button
  4. Create an Epic
Edited by Simon Knox

Merge request reports