Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.8] [Security Solution][Investigations] - fix opening flyout, and c…
…lear filters (#156702) (#156984) # Backport This will backport the following commits from `main` to `8.8`: - [[Security Solution][Investigations] - fix opening flyout, and clear filters (#156702)](#156702) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Michael Olorunnisola","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-05-08T12:29:20Z","message":"[Security Solution][Investigations] - fix opening flyout, and clear filters (#156702)\n\n## Summary\r\n\r\nThis PR fixes the following issue\r\nhttps://github.com//issues/156590 where a users\r\nconfiguration for their alert page filters can prevent them from seeing\r\nthe alert in the table. In this PR we clear the filters to only show the\r\nrequired status filter, with no selection, to rely primarily on the kql\r\nquery filter for the alert id.\r\n\r\nDemo: \r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236332095-ac5583ec-6b5f-4ee2-9c23-9391b54263ba.mov\r\n\r\n\r\nIt also fixes a bug where the flyout when opened wasn't unmounted when\r\nnavigating away from a page and back to it as seen here:\r\n\r\nThe bug:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236333550-b41925f9-a06c-4aa9-931b-beecf4c9ae9b.mov\r\n\r\nWith the fix:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236334123-a0e3169e-2ec8-4754-92d2-65f2f369fa4f.mov\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"1b40216e781b4bcd4d1bf5180aa505c266b29082","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","impact:medium","Team:Threat Hunting","Team: SecuritySolution","Team:Threat Hunting:Investigations","v8.8.0","v8.9.0"],"number":156702,"url":"https://github.com/elastic/kibana/pull/156702","mergeCommit":{"message":"[Security Solution][Investigations] - fix opening flyout, and clear filters (#156702)\n\n## Summary\r\n\r\nThis PR fixes the following issue\r\nhttps://github.com//issues/156590 where a users\r\nconfiguration for their alert page filters can prevent them from seeing\r\nthe alert in the table. In this PR we clear the filters to only show the\r\nrequired status filter, with no selection, to rely primarily on the kql\r\nquery filter for the alert id.\r\n\r\nDemo: \r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236332095-ac5583ec-6b5f-4ee2-9c23-9391b54263ba.mov\r\n\r\n\r\nIt also fixes a bug where the flyout when opened wasn't unmounted when\r\nnavigating away from a page and back to it as seen here:\r\n\r\nThe bug:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236333550-b41925f9-a06c-4aa9-931b-beecf4c9ae9b.mov\r\n\r\nWith the fix:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236334123-a0e3169e-2ec8-4754-92d2-65f2f369fa4f.mov\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"1b40216e781b4bcd4d1bf5180aa505c266b29082"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156702","number":156702,"mergeCommit":{"message":"[Security Solution][Investigations] - fix opening flyout, and clear filters (#156702)\n\n## Summary\r\n\r\nThis PR fixes the following issue\r\nhttps://github.com//issues/156590 where a users\r\nconfiguration for their alert page filters can prevent them from seeing\r\nthe alert in the table. In this PR we clear the filters to only show the\r\nrequired status filter, with no selection, to rely primarily on the kql\r\nquery filter for the alert id.\r\n\r\nDemo: \r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236332095-ac5583ec-6b5f-4ee2-9c23-9391b54263ba.mov\r\n\r\n\r\nIt also fixes a bug where the flyout when opened wasn't unmounted when\r\nnavigating away from a page and back to it as seen here:\r\n\r\nThe bug:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236333550-b41925f9-a06c-4aa9-931b-beecf4c9ae9b.mov\r\n\r\nWith the fix:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/17211684/236334123-a0e3169e-2ec8-4754-92d2-65f2f369fa4f.mov\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"1b40216e781b4bcd4d1bf5180aa505c266b29082"}}]}] BACKPORT--> Co-authored-by: Michael Olorunnisola <[email protected]>
- Loading branch information