Resolve "Banner to enable Auto DevOps at project level"
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 |
---|---|---|---|
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?
-
Changelog entry added, if necessary [ ] Documentation created/updated[ ] API support added-
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend [ ] Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
Closes #37158
Edited by Kamil Trzcińśki