Skip to content

feat(reporting): Add Quick Re-run Action Button to Scans List Table#1240

Open
Rafiaminhaj wants to merge 1 commit into
utksh1:mainfrom
Rafiaminhaj:feature/scans-quick-rerun
Open

feat(reporting): Add Quick Re-run Action Button to Scans List Table#1240
Rafiaminhaj wants to merge 1 commit into
utksh1:mainfrom
Rafiaminhaj:feature/scans-quick-rerun

Conversation

@Rafiaminhaj

Copy link
Copy Markdown
Contributor

Description

This PR implements a quick re-run action button next to each completed, failed, or cancelled scan in the Operational Registry (Scans list view). Clicking this button allows users to immediately trigger a rescan using the past scan inputs without having to re-configure the inputs manually.

Related Issues

Closes #1100

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Added unit tests in Scans.test.tsx verifying:
    • Rendering of the quick re-run action button for completed tasks.
    • Clicking the quick re-run button successfully triggers the startTask API with correct parameters.
  • Executed npm run test (Vitest) - all 43 test files and 363 tests passed successfully.

Checklist

  • My code follows the code style of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Add Quick Re-run Action Button to Scans List Table

1 participant