Skip to content

Add exporting of in-progress/cancelled results#1816

Merged
koesie10 merged 2 commits intomainfrom
koesie10/export-cancelled-results
Dec 2, 2022
Merged

Add exporting of in-progress/cancelled results#1816
koesie10 merged 2 commits intomainfrom
koesie10/export-cancelled-results

Conversation

@koesie10
Copy link
Copy Markdown
Member

@koesie10 koesie10 commented Dec 1, 2022

This will allow exporting results for a variant analysis which is cancelled or in-progress. Repositories for which the results are not yet available or which have not yet been downloaded will not be exported. This will also conditionally disable the buttons, based on whether any results would be exported (based on the filters). Please review this commit-by-commit.

The header of the summary file is incorrect, but this will be fixed in a follow-up PR.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

This will allow exporting results for a variant analysis which is
cancelled or in-progress. Repositories for which the results are not yet
available or which have not yet been downloaded will not be exported.

The header of the summary file is incorrect, but this will be fixed in
a follow-up PR.
This will disable the export and copy buttons when no results would be
exported by executing the command. In contrast to the "normal" filtering
in the view, this will also take into account the checkboxes since those
are also used in the extension host.
@koesie10 koesie10 added the secexp label Dec 1, 2022
@koesie10 koesie10 marked this pull request as ready for review December 1, 2022 10:52
@koesie10 koesie10 requested a review from a team as a code owner December 1, 2022 10:52
Copy link
Copy Markdown
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM and I've tried it out on an in-progress query and a cancelled query and it's working well for me.

@koesie10 koesie10 merged commit 109ee04 into main Dec 2, 2022
@koesie10 koesie10 deleted the koesie10/export-cancelled-results branch December 2, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants