Fix Classic Duo Chat UI is stuck

What does this MR do and why?

This MR fixes that users can't continue having a conversation in Classic Duo Chat because the loading never ends.

Since loading state has been removed from the store, this.isWaitingOnPrompt is updated at onMessageReceived callback in Classic Duo Chat component (which receives data from aiCompletionResponse GraphQL subscription hook) instead of using types.ADD_MESSAGE mutation handler. ref

Closes "... GitLab Duo is finding an answer" never go ... (#581270 - closed)

References

Screenshots or screen recordings

Before After
2025-11-19_14-07-17 2025-11-19_14-03-50

How to set up and validate locally

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.

Edited by Shinya Maeda

Merge request reports

Loading