Make DAST scanner profile form composable
This is to facilitate Inline DAST Profiles Implementation, part of &5469 (closed).
Implementation Plan
-
Update DastScannerProfileFormcomponent-
Emit successandcancelevent handlers -
Listen to these event the parent components -
Move redirection logic to the parent component -
Make submit button's disabled state as per the design specs
-
-
Add showHeaderprop-
Set it enabled by default -
Use it to show the form heading conditionally
-
-
Update ee/app/views/projects/security/dast_scanner_profiles/edit.html.haml-
Make sure the property names match the graphql fields
-
-
Specs / Test coverage -
Add specs for event handlers -
Add a spec for showHeader prop -
Cover spec for submit disabled state -
Write integration spec for dast_scanner_profiles_bundle.js
-
Edited by Dheeraj Joshi