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 Validation
section should be hidden as long as theTarget URL
is invalid -
Add GlToggle
and section that is expanded / collapsed based on the toggle's state -
Default to the toggle set to false
but 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 URL
while 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 GlFormGroup
which contains a button that lets the user download the text file specific to the project (?profile)
-
-
Step 2: -
Add GlFormGroup
which contains a text input (prepending thetargetURL
)
-
-
-
Specs
Edited by Paul Gascou-Vaillancourt