Loading
Decorate user messages that start a goal with a "goal" badge
What does this MR do and why?
It displays a badge to identify messages that start a goal in duo agentic chat.
References
Closes Display a Goal badge in the user message (#628229 - closed)
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Enable the
duo_chat_goal_commandfeature flag in the Rails console:Feature.enable(:duo_chat_goal_command) - Open Duo Agentic Chat in a project that has the Developer foundational flow configured
- Type
/goal keep the pipeline greenin the composer — the composer shows a removable Goal token and the/goaltext disappears from the input - Send it. The user bubble in the transcript shows a "Goal" badge with
keep the pipeline greenunderneath, and no/goaltoken - Reload the page and reopen the thread — the badge is still there
- Send an ordinary chat message and a
/flow:command and confirm both render as before
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 Enrique Alcántara

