Resolve "Create a new Task w/ Title"
What does this MR do and why?
This MR implements the first MVP for creating a work item (previously defined as a "Task") from the issue description todo-checkboxes. The current implementation is purely frontend and it doesn't rely on any real mutation. Instead, we're modifying the DOM of issue description and "creating" a new item with the local createWorkItem
mutation.
Please find the designs for the current iteration on Figma. At this point, we do not implement a dropdown with work item types, this will be done on the next step.
Screenshots or screen recordings
How to set up and validate locally
- Enable the work items feature flag
Feature.enable(:work_items)
- Visit any issue.
- Modify the issue description to have some tasks:
- [ ] some task
- Hover the task to see the action button
- Click on the button and click on
Convert to work item
- Optionally modify the title
- Click on create button
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.
Related to #334812 (closed)
Edited by Natalia Tepluhina