Update GitLab Duo Chat icon

What does this MR do and why?

Replaces the generic tanuki-ai icon with duo-chat or duo-chat-off

Closes #473396 (closed)

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

Before After
Duo - Before.png Duo - After.png
Duo off - before.png Duo off - After.png
Before After
Duo solo - Before.png Duo solo - After.png
Duo solo off - Before.png Duo solo off - After.png

How to set up and validate locally

  1. From the rails console enable feature flag:
Feature.enable(:duo_chat_disabled_button)
  1. Log in as admin to your local GDK instance.
  2. Disable Duo Chat for a project from the console:
project = Project.find_by(name: "Gitlab Smoke Tests")
project.update!(duo_features_enabled: false)
  1. Visit the project - the button should be visible.
  2. Inspect the button and you should see a chat_disabled_reason attribute with a project value.
  3. Visit a project with enabled Duo Chat and inspect the button. It should not have the chat_disabled_reason attribute.
  4. With the flag disabled, for project with disabled Duo Chat, the button should not be visible.
Edited by Austin Regnery

Merge request reports

Loading