Skip to content

Resolve "Create a new Task w/ Title"

Natalia Tepluhina requested to merge 334812-create-a-new-task-w-title into master

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

work_item

How to set up and validate locally

  1. Enable the work items feature flag
    Feature.enable(:work_items)
  2. Visit any issue.
  3. Modify the issue description to have some tasks: - [ ] some task
  4. Hover the task to see the action button
  5. Click on the button and click on Convert to work item
  6. Optionally modify the title
  7. 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.

Related to #334812 (closed)

Edited by Natalia Tepluhina

Merge request reports