Remove linked item from the work item
What does this MR do and why?
Task | Merge request | Status |
---|---|---|
Extract Work item contents and create a wrapper | !128088 (merged) | Merged |
Extract work_items_token_input.vue from app/assets/javascripts/work_items/components/work_item_links/work_item_links_form.vue
|
!128973 (merged) | Merged |
Create work items relationship shell | !130456 (merged) | Merged |
Create a work_item_relationships component in the work_item_relationship folder which lists the linked items based on FF checks | !130194 (merged) | Merged |
Create a work_item_relationship_form component in the work_item_relationship folder which allows to select relationship type, paste link, show autocompletions based on license and FF checks | !131194 (merged) | Merged |
Allow removing the linked item | !131555 (merged) | This MR |
Work with UX to reposition metadata for both Hierarchy and Relationship widgets |
Screenshots or screen recordings
Screen_Recording_2023-09-26_at_7.20.11_PM
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 the feature flag
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 'Linked Items', click on
Add
button to open the form - Select any relationship
- Search the work item and click
Add
- Click now on the kebab button and select the
Remove
option - 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 #416558 (closed)
Edited by Rajan Mistry