Skip to content

Drawer behavior updates

Artur Fedorov requested to merge 363008-drawer-behavior-updates into master

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

  1. Enable feature flag
   Feature.enable(:dast_ui_redesign)
  1. Go to any project /root/$PROJECT_ID/
  2. Go to /root/$PROJECT_ID/-/on_demand_scans/
  3. Go to new scan form by clicking new scan
  4. You need to create scanner or site profile
  5. 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.

Edited by Artur Fedorov

Merge request reports