Skip to content

Update work item components to use fullPath props

Coung Ngo requested to merge cngo-update-fullpath-to-prop into master

What does this MR do and why?

Update work item components to use fullPath props

Work items from a project can open another work item from a different project in a modal. Right now, fullPath is injected which essentially comes from the url route, so this assumes that the modal is in the same project. We need to update the work item components to receive fullPath by prop so that the modal can receive a fullPath value that represents a different project.

This MR fixes more components outside ~/work_items/components/notes/ (being worked on in !134280 (merged)), and will fix the rest in a separate MR to keep diff review size manageable

This was discovered when working on !133846 (merged) and is part of working towards viewing a work item at the group-level #393240 (closed)

Screenshots or screen recordings

How to set up and validate locally

  1. Create a task in an issue, open the task, check that you can update everything as expected

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Coung Ngo

Merge request reports

Loading