Skip to content

Resolve "Banner to enable Auto DevOps at project level"

Filipa Lacerda requested to merge 37158-autodevops-banner into master

What does this MR do?

Creates a callout for auto devops and shows it in the following pages:

  • projects:merge_requests:index
  • projects:show
  • projects:pipelines:index
  • projects:tree:show

Updates the UserCallout class to store this cookie with a path.

The callout should only be visible in the following conditions:

  • you are Master for project AND backend
  • the dismiss cookie is not set AND frontend
  • the project setting is use default AND backend
  • the application setting is off backend

Screenshots (if relevant)

merge_request tree project pipelines
image image image image

Screenshots do not yet reflect correct "auto devops" wording (so without a space between "dev" and "ops"), but this is implemented in the code.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #37158

Edited by Kamil Trzcińśki

Merge request reports