Hide Duo Chat on pages outside of Group or Project
What does this MR do and why?
The purpose of this MR is to hide Duo chat on pages outside of Group and Project. The reason for this is due to having confusing patterns within our UI for end users.
Related Issues:
- #488665 - Duo Chat Still Accessible for Some Pages on Self-managed When "Never on" Option is Enabled
- #447543 (closed) - Remove Duo Chat from pages that are outside the group or project
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 |
---|---|
Screen Recording for Group Testing:
Screen_Recording_2024-09-17_at_11.33.33_AM
Screen Recording for Admin Testing:
Screen_Recording_2024-09-17_at_11.41.15_AM
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Numbered steps to set up and validate the change are strongly suggested.
Groups
- Go to Group > Settings > GitLab Duo Features
- Under Availability select
Never on
and click Save changes. - Verify Duo Chat is disabled at the Group (top) level
- Go into Subgroups or Projects, Verify Duo Chat is disabled
- Go to Profile, Todos, Admin, and/or Homepage - Verify Duo Chat does not display.
Admin
- Go to Admin > Settings > GitLab Duo Features
- Verify Duo Chat does not display (on Admin pages)
- Under Availability select
Never on
and click Save changes. - Go into Groups, Subgroups or Projects, Verify Duo Chat does not display.
- Go to Profile, Todos, and Homepage - Verify Duo Chat does not display.
For backend changes:
Run the following specs:
bundle exec rspec ee/spec/lib/gitlab/llm/tanuki_bot_spec.rb