[8.15] [SecuritySolution][Threat Hunting Investigation] Fix timeline showing as changed when it wasn't actually changed (#188106) (#188148)

# Backport

This will backport the following commits from `main` to `8.15`:
- [[SecuritySolution][Threat Hunting Investigation] Fix timeline showing
as changed when it wasn't actually changed
(#188106)](https://github.com/elastic/kibana/pull/188106)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Jan
Monschke","email":"jan.monschke@elastic.co"},"sourceCommit":{"committedDate":"2024-07-11T18:45:04Z","message":"[SecuritySolution][Threat
Hunting Investigation] Fix timeline showing as changed when it wasn't
actually changed (#188106)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/security-team/issues/9646\r\n\r\nThe embedded
discover's `update` mechanism has changed and the `grid`\r\nand
`hideChart` properties keep changing on initial sync, causing
the\r\ntimeline show as `changed` when it actually didn't. These two
properties\r\nare not important to actually determine the changed state
of timeline\r\nand we can therefore ignore
them.","sha":"b97f309926e240902787cc011df8ebaca64fffa7","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat
Hunting:Investigations","backport:prev-minor","v8.16.0"],"title":"[SecuritySolution][Threat
Hunting Investigation] Fix timeline showing as changed when it wasn't
actually
changed","number":188106,"url":"https://github.com/elastic/kibana/pull/188106","mergeCommit":{"message":"[SecuritySolution][Threat
Hunting Investigation] Fix timeline showing as changed when it wasn't
actually changed (#188106)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/security-team/issues/9646\r\n\r\nThe embedded
discover's `update` mechanism has changed and the `grid`\r\nand
`hideChart` properties keep changing on initial sync, causing
the\r\ntimeline show as `changed` when it actually didn't. These two
properties\r\nare not important to actually determine the changed state
of timeline\r\nand we can therefore ignore
them.","sha":"b97f309926e240902787cc011df8ebaca64fffa7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188106","number":188106,"mergeCommit":{"message":"[SecuritySolution][Threat
Hunting Investigation] Fix timeline showing as changed when it wasn't
actually changed (#188106)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/security-team/issues/9646\r\n\r\nThe embedded
discover's `update` mechanism has changed and the `grid`\r\nand
`hideChart` properties keep changing on initial sync, causing
the\r\ntimeline show as `changed` when it actually didn't. These two
properties\r\nare not important to actually determine the changed state
of timeline\r\nand we can therefore ignore
them.","sha":"b97f309926e240902787cc011df8ebaca64fffa7"}}]}] BACKPORT-->

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
This commit is contained in:
Kibana Machine 2024-07-11 22:27:47 +02:00 committed by GitHub
parent f106c1620e
commit 54efb7c080
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,8 +24,6 @@ export const savedSearchComparator = (
const keysToSelect = [
'columns',
'grid',
'hideChart',
'sort',
'timeRange',
'fields.filter',