Skip to content

Pass dynamic resource ID from the contextual view to new Duo chat

What does this MR do and why?

In the "old" agentic chat, we passed a context of the work item opened in the drawer via reactive variable. This was missed during the migration to new Duo chat, so I am reinstating the change.

Old implementation can be found here

References

https://gitlab.com/gitlab-org/gitlab/-/issues/577188

How to set up and validate locally

  1. Enable new UI
  2. Open agentic chat panel.
  3. Navigate to issue list or work item with child work items
  4. Open any work ited in the contextual panel
  5. Ask Duo about this work item

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading