Edit title in work item detail modal
What does this MR do and why?
This MR adds the ability to edit the work item title in the work item modal on the issue show page.
In this MR, the ItemTitle
component was wrapped in a new component WorkItemTitle
that performs update mutations and snowplow tracking. This new WorkItemTitle
component is then used on the issue show page (in WorkItemDetailModal
) and the work item show page (in WorkItemRoot
).
In the follow up MR, the local resolvers and typedefs will be removed. They won't be removed in this MR to keep the diff size reasonable.
Screenshots or screen recordings
Screen_Recording_2022-03-22_at_12.27.15_pm
How to set up and validate locally
- In rails console enable the feature flag
Feature.enable(:work_items)
- Visit any issue page such as
http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues/1
- Create a task and convert it into a work item
- Open the work item in a modal and test editing the title
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 #343668 (closed)
Edited by Coung Ngo