Skip to content

Added filtering and sorting in the model alerts view#3509

Merged
charisk merged 3 commits intomainfrom
charisk/model-alerts-filtering-sorting
Mar 25, 2024
Merged

Added filtering and sorting in the model alerts view#3509
charisk merged 3 commits intomainfrom
charisk/model-alerts-filtering-sorting

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Mar 25, 2024

Add filtering on model signature or repository, and sorting based on number of results and alphabetically.

The implementation generally follows similar patterns to what we have in the variant analysis results view.

Apologies for the churn in the alert-processor.ts and ModelAlerts.stories.tsx - this is mainly so we can have enough test data to try things out in Storybook since we don't have proper alert provenance information yet.

Checklist

N/A:

  • 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.

@charisk charisk requested review from a team as code owners March 25, 2024 15:47
Copy link
Copy Markdown
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

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

A couple of minor comments, but LGTM overall! ✨

charisk and others added 2 commits March 25, 2024 16:56
…er-sort.ts

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
@charisk charisk enabled auto-merge (squash) March 25, 2024 17:00
@charisk charisk merged commit 21c33b7 into main Mar 25, 2024
@charisk charisk deleted the charisk/model-alerts-filtering-sorting branch March 25, 2024 17:18
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