Skip to content

Upsell the GitLab Terraform features - iteration 2

What does this MR do?

This MR is a part of changing the GitLab-managed Terraform state banner. As discussed in that MR we want to split the task to ship the change safely for the mixed deployment scenario

We decided to proceed in 3 steps:

  1. Change the design using the old logic - current step
  2. Introduce the backend change
  3. Then in 14.3 switch to the new implementation using UserCalloutDismisser.

Current MR:

  • changes the banner design from introduction to promotion
  • adds illustration to make it prominent that the banner is about Terraform
  • changes the logic of managing cookie for the banner from per-project to per-user basis

Screenshots or Screencasts (strongly suggested)

Before After
Screenshot_2021-07-09_at_17.57.48 Screenshot_2021-08-12_at_18.36.12

How to setup and validate locally (strongly suggested)

  1. Create a project that contains Terraform files (.tf files should be at least in the top 5 files types)
  2. View the banner on the top
  3. After dismissing the banner try to reload the page and go to another project that contains Terraform files. Verify that the banner is not shown anymore.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #336360 (closed)

Edited by Anna Vovchenko

Merge request reports

Loading