Add feedback banner on runner creation page
What does this MR do and why?
This change adds a feedback banner on the new runner pages for admin, group and project areas.
The banner is dismissible and the dismissal is permanent for a given user regardless of where the dimissal occurs.
Screenshots or screen recordings
How to set up and validate locally
Check banner appearance
Admin
- Enable the feature flag: in your console
rails c
, and thenFeature.enable(:create_runner_workflow_for_admin)
- Visit Admin > CI/CD > Runners e.g. http://gdk.test:3000/admin/runners
- Click on "New instance runner"
Group / Project
- Enable the feature flag: in your console
rails c
, and thenFeature.enable(:create_runner_workflow_for_namespace)
- Visit a group's runners My group > CI/CD > Runners, e.g. http://gdk.test:3000/groups/top-group/-/runners
- Click on "New group runner"
- Visit a project's Settings > CI/CD > Runners, you must own the project e.g. http://gdk.test:3000/top-group/top-project/-/settings/ci_cd
- Click on "New project runner"
Check dismissal
- Dismiss the banner.
- Confirm that it's not present in any of the sections mentioned above
-
Note: You may restore the banner, in your console type
rails c
, and thenUser.find(1).callouts.last.destroy
(assuming you are logged in asroot
)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #389183 (closed)
Edited by Miguel Rincon