Feature Request: hide/show Duo button on the bottom status bar in Web IDE when GitLab Duo is disabled

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Feature Request: Hide Duo Button in Web IDE When GitLab Duo is Disabled

Problem Statement

When GitLab Duo is disabled at the instance level through the Admin panel, the Duo button remains visible in the Web IDE activity bar with an orange color and displays a tooltip reading "GitLab Duo failed diagnostic checks." This creates confusion for users and raises concerns about compliance with organizational IT policies.

The following is the message from the customer:

My rationale for wanting the Duo button removed from the Web IDE activity bar is that multiple developers have voiced concern that we had some Duo features turned on, which is against our organization's internal IT policy at this time. Having a bright, attention-grabbing orange button visible for a feature that's disabled is misleading. I would like the Duo button removed from the Web IDE activity bar when GitLab Duo is disabled in the Admin panel of our self-hosted GitLab instance.

duo_button_still_visible_when_disabled

Current Behavior

  • Duo button still appears in Web IDE activity bar when GitLab Duo is disabled instance-wide via Admin panel settings
  • Button shows as bright orange despite being disabled which confuses the users about the Duo availability

Requested Behavior

When GitLab Duo is disabled at the instance level, the Duo button should be completely hidden from the Web IDE activity bar for all users.

Business Justification

  • Compliance: Organization has internal IT policies that prohibit AI-assisted features
  • User Experience: Visible disabled features create confusion and concern among developers
  • Visual Clarity: Orange/attention-grabbing buttons for disabled features are misleading
  • Administrative Control: Instance administrators should have full control over feature visibility

Acceptance Criteria

  • When GitLab Duo is disabled in Admin panel, Duo button is not visible in Web IDE
  • Setting applies to all users across the organization
  • No visual indicators of Duo features appear when disabled at instance level
  • Existing functionality for enabled instances remains unchanged

Environment

  • Self-hosted GitLab instance
  • Web IDE interface

Description was generated using AI

Edited by 🤖 GitLab Bot 🤖