Replace kebab menu with x for work item child
What does this MR do and why?
This MR replaces the kebab menu with the x button for the Child Objectives and Key results
and Linked Items
widgets. The designs can be found here.
Note: This MR only replaces the close button. Rest of the metadata will be moved using #428901 (closed).
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Prerequisites:
- Enable the OKRs feature as mentioned in the OKRs docs (e.g.
::Feature.enabled?(:okrs_mvc, Project.find(<PROJECT_ID>))
and the namespace must have Ultimate plan). - Enable
Feature.enable(:linked_work_items)
Steps to verify:
- Login with any user
- Go to any Project > Issues > List
- Create an new Objective under New issue split button
- Go to Objective detail page
- Under
Child Objectives and Key results
orLinked Items
, click onAdd
button to open the form - Fill the details and add few items
- Click on the close button after hovering on any item
- Check if the item is removed
In addition to above flow, it also affects the Key results and Tasks feature.
For Tasks:
- Add a Task as mention Add a Task docs under an Issue
- Open the Task
- Click on the close button after hovering on any item
- Check if the item is removed
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 #427603 (closed)
Edited by Rajan Mistry