Hide Service Desk from navigation if disabled in settings

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

Hide Service Desk from navigation if disabled in settings

The service desk menu item in the navigation was always visible, even when the feature was disabled in the settings.

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.

When Service Desk enabled When Service Desk disabled
image image

How to set up and validate locally

  • Enable incoming_email and service_desk_email (in config/gitlab.yml)
  • Open a project and check that Monitor > Service Desk is present
  • Go to settings and disable service desk
  • Reload the page and check that Monitor > Service Desk is no longer present
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading