Drawer behavior updates
What does this MR do and why?
This MR resolves point 1 and 3 of #363008 (closed)
Changes in behaviour of a side drawer.
Side drawer after submit or cancel action can be either closed or return to previous state.
Referral
/ \
Parent Self
/ \ / \
New Edit New Edit
/ \ / \ / \ / \
C R C C C R R R
C-close R-reopen
Describe in detail what your merge request does and why.
Screenshots or screen recordings
creating new profile |
---|
creation |
editing new profile |
---|
editing |
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
- You need to create scanner or site profile
- Click edit button on profile selector or open side drawer and edit from a card
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