Filter alert status counts by search

Problem to solve

Triaging alerts is often urgently and under stress. If a user is searching for alerts, we want to make it simple for them to identify alerts that meet their search criteria in each status without having to click into each tab.

Intended users

Further details

This work drives the direction of the Alert Management category.

User experience goal

User can easily identify alerts that meet their search criteria in each status without having to click into each tab.

Proposal

The new tabs that organize the alert list view by status contain sums of the number of alerts in that tab. As a user enters search criteria into the search bar above the alert list, update the sums in each tab to reflect the number of alerts in each tab that meet the criteria.

Screen_Shot_2020-05-28_at_8.13.30_AM

!32047 (merged) introduced search for alerts. #217670 (closed) introduces tabs with counts for alerts by status.

The current counts in those tabs do not yet reflect the search. The counter logic mostly supports a filter already, but we just need to cross the finish line.

  • BE: Add the search argument to the GraphQL query for AlertStatusCountsResolver to ensure the args get passed to the alert finder
  • FE: Either ensure the search is passed to both the alerts and alert counts queries as part of the MR for #213884 (closed), or a separate MR.

Permissions and Security

Documentation

Documentation required. Please update this section.

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited by Sarah Waldner