Skip to content

Show task icon instead of status in linked item widget

Rajan Mistry requested to merge 416557-show-task-icon into master

What does this MR do and why?

As per UX, task icon should be displayed instead of status icon. This MR fix the icon in linked item widget.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

Screenshot 2023-10-09 at 6.07.14 PM.png

Screenshot 2023-10-09 at 6.06.37 PM.png

How to set up and validate locally

Prerequisites:

  1. 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).
  2. Enable the feature flag Feature.enable(:linked_work_items)

Steps to verify:

  1. Login with any user
  2. Go to any Project > Issues > List
  3. Create an new Objective under New issue split button
  4. Go to Objective detail page
  5. Under 'Linked Items', click on Add button to open the form
  6. Select any relationship
  7. Search a Task (work item) and click Add
  8. Check the icon of the added Task

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 #416557 (closed)

Merge request reports