New Empty state for DAST Profile Selectors
What does this MR do and why?
This MR partially resolves #355640 (closed). This MR creates new empty state for scanner profile selector and site profile selector, according to new design.
- New empty state is currently behind
:dast_ui_redesignfeature flag. - Two new components for scanner and site profile empty state are presented in this MR.
- After finishing redesign of summary card, empty state can become of
profile_selector - Right now it is extracted to own component and conditionally shown in parent component, in order to make it work before summary redesign is finished.
- It is also extracted in two components and not implemented with only one with slots, in order to improve code readability. As
on_demand_scans_form.vueis already big and complex enough.
Describe in detail what your merge request does and why.
Screenshots or screen recordings
| before |
|---|
![]() |
| after |
|---|
![]() |
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
- Enable feature flag
Feature.enable(:dast_ui_redesign)
- Go to any project /root/$PROJECT_ID/
- Go to /root/$PROJECT_ID/-/on_demand_scans/
- Go to new scan form by clicking
new scan
Numbered steps to set up and validate the change are strongly suggested.
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.
Edited by Artur Fedorov



