UX Improvement - DAST URL Modal
We show DAST scanned resources (URLs) in a modal implemented as per #220405 (closed).
There are currently two issues with the existing modal
Problem to solve
1. Download Button UX has no loader
POC - It takes some time to load the download the CSV in production
DAST_CSV_Download_Production2. Modal gets closed when Download Button is clicked
Design proposal
-
If we can show a loader while download and stop loader after download finish, we should. If we can't tell when the download finishes, we shouldn't add it.
-
We don't close it for it, because we don't know the user is looking at the modal window or not. Close it automatically without user's actions feels like something wrong.
Implementation Plan
-
Prevent closing the modal upon click -
Implement a loader for the "Download as CSV" Button