Disable classic Duo Chat for Duo Core users
What does this MR do and why?
Disable classic Duo Chat for Duo Core users
- Add feature flag no_duo_classic_for_duo_core_users
- Force agentic mode when classic is unavailable
- Hide mode toggle for Duo Core users
- Add RSpec and Jest tests for new functionality
References
Screenshots or screen recordings
| Before | After |
|---|---|
|
|
How to set up and validate locally
- In rails console enable the feature flag
Feature.enable(:no_duo_classic_for_duo_core_users) - I'm not sure how to mock core_duo user in GDK so here is a patch to go around backend.
- Visit any page with chat duo
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

