Add dropdown with work item types to create task component
What does this MR do and why?
In this MR, we add the dropdown to select a work item type when creating the work item. So far, we are not using this type in the local mutation but it will be required to integrate the "real" mutation after !78414 (merged) is merged.
It also includes some little fixes like SVG paths and checking if the component exists before doing querySelectorAll
Screenshots or screen recordings
How to set up and validate locally
- Enable the work items feature flag
Feature.enable(:work_items)
- Visit any issue
- Add some checkboxes to issue description
- Click on the three dots icon next to checkbox and click on
Convert
button - You should see a modal with the dropdown listing all the available work item types
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Natalia Tepluhina