Create task immediately and switch to edit mode
What does this MR do and why?
- Change 'Convert to work item' button tooltip to say 'Create task'
- Clicking button creates a task instantly, then opens the detail modal
- Deleted most of the
isModal
stuff from create_work_item.vue (since we don't need it anymore) - Add 'Task' label (or other work item type) to the top of work item detail
- Move Status field to top of the form
- Even up alignment/spacing of the fields on work item detail
- Remove borders from description
- Edit button is now just an icon
- Move save/cancel buttons to below description
- Add empty state to description
Screenshots or screen recordings
Screen_Recording_2022-06-20_at_8.36.33_pm
How to set up and validate locally
- Enable the work_items feature flag
Feature.enable(:work_items)
- Visit any group or project issue page, add a checklist to issue description
- Hover a checklist item, click "Convert to task"
- Task is created, Modal opens in edit view
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 Simon Knox