Skip to content

Update work item notes to use fullPath props

What does this MR do and why?

Update work item notes 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 fullPath within ~/work_items/components/notes/, and will fix it in more work items components in separate MRs 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 write comments etc 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