Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.14] [Alert search bar] Fix alert search bar refresh functionality (e…
…lastic#180899) (elastic#181127) # Backport This will backport the following commits from `main` to `8.14`: - [[Alert search bar] Fix alert search bar refresh functionality (elastic#180899)](elastic#180899) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Maryam Saeidi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-04-18T09:25:57Z","message":"[Alert search bar] Fix alert search bar refresh functionality (elastic#180899)\n\nFixes elastic#180722\r\n\r\n## Summary\r\n\r\nThis PR fixes the refresh issue by using `isUpdate` prop to decide if\r\nany of the search bar params have changed and if not, it just resubmits\r\nthe request without changing calling the parent functions for updating\r\nthe params.\r\n\r\n### Testing refresh functionality\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/12370520/0e406613-e662-4f62-a229-c1f5cc2bb478\r\n\r\n### Testing other alerts search bar functionalities\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/12370520/13021c28-0c68-4f92-94ac-f6a3f6234441\r\n\r\n---------\r\n\r\nCo-authored-by: Dominique Clarke <[email protected]>","sha":"87c0451f91aa81c867345318ff994c594668f069","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Feature:Alerting","release_note:skip","Team:obs-ux-management","v8.14.0","v8.15.0"],"title":"[Alert search bar] Fix alert search bar refresh functionality","number":180899,"url":"https://github.com/elastic/kibana/pull/180899","mergeCommit":{"message":"[Alert search bar] Fix alert search bar refresh functionality (elastic#180899)\n\nFixes elastic#180722\r\n\r\n## Summary\r\n\r\nThis PR fixes the refresh issue by using `isUpdate` prop to decide if\r\nany of the search bar params have changed and if not, it just resubmits\r\nthe request without changing calling the parent functions for updating\r\nthe params.\r\n\r\n### Testing refresh functionality\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/12370520/0e406613-e662-4f62-a229-c1f5cc2bb478\r\n\r\n### Testing other alerts search bar functionalities\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/12370520/13021c28-0c68-4f92-94ac-f6a3f6234441\r\n\r\n---------\r\n\r\nCo-authored-by: Dominique Clarke <[email protected]>","sha":"87c0451f91aa81c867345318ff994c594668f069"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/180899","number":180899,"mergeCommit":{"message":"[Alert search bar] Fix alert search bar refresh functionality (elastic#180899)\n\nFixes elastic#180722\r\n\r\n## Summary\r\n\r\nThis PR fixes the refresh issue by using `isUpdate` prop to decide if\r\nany of the search bar params have changed and if not, it just resubmits\r\nthe request without changing calling the parent functions for updating\r\nthe params.\r\n\r\n### Testing refresh functionality\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/12370520/0e406613-e662-4f62-a229-c1f5cc2bb478\r\n\r\n### Testing other alerts search bar functionalities\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/12370520/13021c28-0c68-4f92-94ac-f6a3f6234441\r\n\r\n---------\r\n\r\nCo-authored-by: Dominique Clarke <[email protected]>","sha":"87c0451f91aa81c867345318ff994c594668f069"}}]}] BACKPORT--> Co-authored-by: Maryam Saeidi <[email protected]>
- Loading branch information