Add experiment badge to the security exclusions
What does this MR do and why?
Related design discussion at #479344 (comment 2127438411).
This MR adds an ExperimentHeader
component to be used in security exclusion pages, to showcase experimental badge and necessary text.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Before | After |
---|---|
How to set up and validate locally
- Enable feature flag
Feature.enable(:secret_detection_project_level_exclusions)
- Visit secret detection configuration page for a project
http://gdk.test:3000/flightjs/Flight/-/security/configuration/secret_detection
- The empty state should be shown as per the designs.
- Click on "Add exclusion" to see the drawer and the form.
- You may require to restart rails with
gdk restart rails-web
or hard reload the browser to see these changes.
Edited by Dheeraj Joshi