Skip to content

LazyLoad DuoChat GraphQL Subscriptions

Jannik Lehmann requested to merge jnnkl-duo-chat-subscriptions into master

What does this MR do and why?

fixes: #458417 (closed)

LazyLoad DuoChat GraphQL Subscriptions

This MR makes sure we're only subscribing to DuoChat related GraphQL Queries when Duo Chat is open. Currently we're subscribing to them on every page load when DuoChat is activated.

MR acceptance checklist

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

Screenshots or screen recordings

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

Before After
before 2024-04-28_21-33-20

How to set up and validate locally

  1. Setup Duo Chat: https://docs.gitlab.com/ee/development/ai_features/duo_chat.html#set-up-gitlab-duo-chat
  2. Open up Duo Chat
  3. Ask question
Edited by Jannik Lehmann

Merge request reports