DAST Site validation - Add Validation Component - Frontend
- parent issue: #233020 (closed)
Summary
This issue is for adding the presentational compontents (toggle, inputs, form, etc.) to the site profile creation / update page.
Design
- Site Validation design issue
- Creation site profile flow:
Implementation Plan
-
The Validationsection should be hidden as long as theTarget URLis invalid -
Add GlToggleand section that is expanded / collapsed based on the toggle's state -
Default to the toggle set to falsebut if the site has been verified it should be set totrue -
Within the section: -
Show an alert if the current profile has not been validated -
Enabling the toggle, or changing the Target URLwhile the toggle is enabled should trigger a GraphQL query to verify whether the site has already been validated (TODO: agree on schema)
-
-
Step 1: -
Add GlFormGroupwhich contains a button that lets the user download the text file specific to the project (?profile)
-
-
Step 2: -
Add GlFormGroupwhich contains a text input (prepending thetargetURL)
-
-
-
Specs
Edited by Paul Gascou-Vaillancourt