Project > Visibility Settings > Deployments > Allow users to disable Environments individually

Problem to solve

See main epic.

User experience goal

If a project is not utilizing the feature, allow an admin or maintainer to disable it within the project visibility settings.

Further details (dependencies)

When disabled, the following dependency areas would also be removed/disabled:

  • The Metrics page and Logs page under Monitor wouldn't be disabled, but the experience would be impacted, as there is an environments filter on both pages. We'll likely need an updated empty state on the Metrics page, as the dashboard likely wouldn't have any content without environments enabled. In addition, we'd need to consider either hiding the environments dropdown on those pages, or adding a "no environments available" message within the dropdown. More details.
  • ...
  • ...

Design

See design issue for design specs.

Edited by Amelia Bauerly