Skip to content

Add empty state for environments

Andrew Fontaine requested to merge afontaine/deployment-empty-state into master

What does this MR do and why?

If there are no deployments, display a link to the documentation to assist in setting up deployment jobs.

Screenshots or screen recordings

image

How to set up and validate locally

  1. Make sure to turn on the new_environments_table feature flag. On the GitLab repository, run:
cd ./bin 
./rails console
Feature.enable(:new_environments_table) //turns on the feature flag
Feature.disable(:new_environments_table) //turns off the feature flag, takes some time to kick in
  1. Add an environment by navigating to Project > Deployments > Environments and selecting Add environment

  2. Expand the row for your new environment

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading