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: support filtering for warnings only on the review page #3125

Merged
merged 79 commits into from
Nov 12, 2024

Conversation

fhennig
Copy link
Contributor

@fhennig fhennig commented Oct 30, 2024

part of #3031

fixes #2566
fixes #1447
fixes #3198 -- ac6aa79

preview URL: https://feat-3031-improve-review.loculus.org/

Summary

This PR merges the HAS_ERRORS and AWAITING_APPROVAL statuses in the SequenceEntryView. Instead errors are handled by looking at the errors column. The get-sequences endpoint now supports filtering by processing result (no_issues, warnings, errors) and also returns the counts for these states.

The UI has been adapted to support filtering.

Documentation has been updated.

The PR also adds confirmation dialogs to individual sequence publishing or deletion (#2566)

Screenshot

image

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

@fhennig fhennig force-pushed the feat/3031-improve-review-page branch from 8bd7c88 to 7e9ea3a Compare October 30, 2024 10:14
@fhennig fhennig added the preview Triggers a deployment to argocd label Oct 30, 2024
@fhennig fhennig self-assigned this Oct 31, 2024
@fhennig
Copy link
Contributor Author

fhennig commented Nov 12, 2024

I fixed the pagination bit in this commit: cddfe83

Ideally the number of results would maybe be returned in the get-sequences response, but I think this is fine for now.

Copy link
Member

@chaoran-chen chaoran-chen left a comment

Choose a reason for hiding this comment

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

Thanks, Felix! I think this is good to go!

@@ -7,28 +7,26 @@
}
state REVISION_DATA as "revision data" #aliceblue;line:blue;line.dotted;text:blue {
REVISION_DATA: already existing sequence
REVISION_DATA: with status APPROVED_FOR_RELEASE
REVISION_DATA: with status RELEASED
Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably still be APPROVED_FOR_RELEASE - I agree it would be nice to rename to RELEASED but afaict this hasn't happened yet in the code base.

@corneliusroemer
Copy link
Contributor

I wonder if this change should be reverted: #3125 (comment) until we have made it in code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Triggers a deployment to argocd update_db_schema
Projects
None yet
7 participants