Reversed toggle and changed toggle label behind feature flag
What does this MR do and why?
This change updates the chat interface toggle switch to be more intuitive for users.
Previously, the toggle was labeled "Chat (Classic)" and worked backwards - turning it off would enable the newer "agentic" chat mode. Now the toggle is labeled "Chat (Agentic)" and works directly - turning it on enables agentic mode, turning it off disables it. This makes the user interface clearer and eliminates the confusing inverted logic where users had to turn off "Classic" to get the newer features.
References
Screenshots or screen recordings
FF on
| Before | After |
|---|---|
|
|
|
|
FF off
| Before | After |
|---|---|
|
|
|
|
How to set up and validate locally
- In rails console enable the feature flag
Feature.enable(:agentic_chat_ga) - Visit any page with duo chat
- If you have a cookie saved
duo_agentic_mode_ondelete it - observe that chat defaults to agentic
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 Tomas Bulva







