Skip to content

[8.8] [Security Solution][Investigations] - fix opening flyout, and clear filters (#156702)#156984

Merged
kibanamachine merged 5 commits intoelastic:8.8from
kibanamachine:backport/8.8/pr-156702
May 9, 2023
Merged

[8.8] [Security Solution][Investigations] - fix opening flyout, and clear filters (#156702)#156984
kibanamachine merged 5 commits intoelastic:8.8from
kibanamachine:backport/8.8/pr-156702

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.8:

Questions ?

Please refer to the Backport tool documentation

…ilters (elastic#156702)

## Summary

This PR fixes the following issue
elastic#156590 where a users
configuration for their alert page filters can prevent them from seeing
the alert in the table. In this PR we clear the filters to only show the
required status filter, with no selection, to rely primarily on the kql
query filter for the alert id.

Demo:

https://user-images.githubusercontent.com/17211684/236332095-ac5583ec-6b5f-4ee2-9c23-9391b54263ba.mov

It also fixes a bug where the flyout when opened wasn't unmounted when
navigating away from a page and back to it as seen here:

The bug:

https://user-images.githubusercontent.com/17211684/236333550-b41925f9-a06c-4aa9-931b-beecf4c9ae9b.mov

With the fix:

https://user-images.githubusercontent.com/17211684/236334123-a0e3169e-2ec8-4754-92d2-65f2f369fa4f.mov

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 1b40216)
@michaelolo24
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

@michaelolo24
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

@michaelolo24
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

@michaelolo24
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 9.1MB 9.1MB +213.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 17 19 +2
securitySolution 399 402 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 18 20 +2
securitySolution 479 482 +3
total +5

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @michaelolo24

@kibanamachine kibanamachine merged commit 57f0a68 into elastic:8.8 May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants