Closed
Description
Describe the bug
On manage submission page, we added back in the delete functionality, and it now works as expected. The last problem is that, after deleting a submission, the list of submissions doesn't automatically refresh, so the user doesn't know that the operation completed successfully until they manually refresh the page.
To Reproduce
- Login with a test account (like jgasperMobile12 / Appirio123)
- Register for a design challenge (like https://www.topcoder-dev.com/challenges/832c034a-d09a-43b9-9bdd-1efff6dbb485)
- Make a submission
- View the manage submissions page (https://topcoder-dev.com/challenges/{challengeID}/my-submissions)
- Note that the delete button is showing even while the AV scan is happening. This leads to problems because the AV scan moves the files around in the background, meaning that the delete can sometimes not work properly if it happens while the scan is happening
Expected behavior
We need to make two changes:
- Let's hide the delete button until after the AV scan completes.
- When the AV Scan is in progress, we make no attempt to refresh the screening status. Let's refresh the status every 2 seconds so that we show the delete button when AV scan is done, without the user having to refresh the page.
Metadata
Metadata
Assignees
Labels
No labels