AutoDevOps enabled alert (use LocalStorage for project-level dismissal)
Why are we doing this work
For the redesign of the Security Config Page tracked here, we will need to introduce an AutoDevOps enabled alert (use LocalStorage for project-level dismissal)
If the project has Auto DevOps enabled, the success banner will display until the user dismisses it. Dismissal of this banner is at the project level and will not appear again in this project
Screenshot
Relevant links
Implementation Plan
-
extract the needed dataset attributes from the template and pass through to component via props or inject in the entry point (autoDevopsEnabled, gitlabCiPresent, canEnableAutoDevops) -
Implement Banner using previously used logic to be found at (https://gitlab.com/gitlab-org/gitlab/blob/76e89467837aef259cfc7479443d67877411ed2f/ee/app/assets/javascripts/security_configuration/components/app.vue#L133-145)
Edited by Jannik Lehmann