LazyLoad DuoChat GraphQL Subscriptions
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
- Setup Duo Chat: https://docs.gitlab.com/ee/development/ai_features/duo_chat.html#set-up-gitlab-duo-chat
- Open up Duo Chat
- Ask question
Edited by Jannik Lehmann