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

feat(ActionMenu<Scan>): ds-437 add download report button #513

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bruno-fs
Copy link
Contributor

@bruno-fs bruno-fs commented Nov 6, 2024

The button shall only be enabled when the scan is completed.

What's included

Includes a dropdown button on scan row kebab for downloading reports.

Notes

  • The button should be disabled for failed or incomplete scans.
  • If a "complete" scan doesn't have a report_id (due to a bug/edge-case on the backend?). a client-side error will be thrown

Example

Kebab for scans in progress
image
...and for completed ones
image
On download completion, an alert should be displayed. Same shall happen on errors, but that's harder to test without
monkey-patching the server
image

...

Updates issue/story

DISCOVERY-347

npm run start:using-server will serve the development UI properly
wired to a running instance of quipucords server. Default configuration
points to quipucords-installer defaults, and can be customized
with QUIPUCORDS_SERVER_* variables.
@bruno-fs bruno-fs changed the base branch from start-using-server to main November 6, 2024 17:31
The button shall only be enabled when the scan is completed.
@gtanzillo
Copy link
Member

Thanks for adding this @bruno-fs. Let try to get this one in for the v2 release, since it addresses a blocker issue.

@bruno-fs bruno-fs requested review from a team November 6, 2024 22:12
@bruno-fs
Copy link
Contributor Author

bruno-fs commented Nov 7, 2024

After sleeping on it, I believe we could test this workflow directly in the camayoc, given that we were missing the step to complete the standard workflow for scanning.

Thoughts, @mirekdlugosz & @ruda ?

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.

2 participants