Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ability to cancel a scan #149

Closed
JustEmrick opened this issue Aug 11, 2023 · 1 comment
Closed

Provide ability to cancel a scan #149

JustEmrick opened this issue Aug 11, 2023 · 1 comment
Assignees
Labels
idea Idea for consideration

Comments

@JustEmrick
Copy link
Contributor

Description:

Currently, a scan occasionally encounters a stall or remains in a queued status during scans. To enhance user experience and control, we should consider implementing a feature that allows users to cancel scans that are stuck or queued, ensuring smoother scanning processes and efficient use of resources. Even for scans that are running but the user decides to terminate

Problem Statement:

Sometimes when I use this scanner, I experience occasional scans that become stuck at 50% progress or remain in a queued status indefinitely.

User Stories:

As a user, I want the ability to cancel a scan that is stalled or queued, so that I can free up system resources and initiate a fresh scan.

Acceptance Criteria:

  • A "Cancel" button should be available for scans that are stalled or queued. Clicking this button should stop the scan process and provide a prompt for confirmation.

As a user, I want the ability to cancel a scan that is currently running, so that I can start over or initiate a fresh scan.

Acceptance Criteria:

  • A "Cancel" button should be available for scans that are currently running. Clicking this button should stop the scan process and provide a prompt for confirmation.

As a user, I want to receive a notification when a scan is cancelled successfully, so that I am informed about the outcome of my action.

Acceptance Criteria:

  • A new status should be displayed to the user when they successfully cancel a scan.

As a user, I don't want the option to cancel a scan that has already completed, so that I am not able to perform an action is not applicable.

Acceptance Criteria:

  • There is no ability for a user to attempt to cancel a scan that has already completed

As a user, I want the ability to view cancelled scans from in my scans list, so that I maintain a record of all attempted scans on my assets

Acceptance Criteria:

  • When a user views the scans tab, cancelled scans are still displayed and the user interface should reflect the cancelled status.
@JustEmrick JustEmrick added the idea Idea for consideration label Aug 11, 2023
@zimventures zimventures self-assigned this Aug 21, 2023
@zimventures
Copy link
Contributor

Closed out via #176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Idea for consideration
Projects
None yet
Development

No branches or pull requests

2 participants