Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Discover] Remove redundant data fetching when hiding/showing t…
…he histogram/chart (#206389) (#207051) # Backport This will backport the following commits from `main` to `8.x`: - [[Discover] Remove redundant data fetching when hiding/showing the histogram/chart (#206389)](#206389) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Matthias Wilhelm","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-17T10:49:37Z","message":"[Discover] Remove redundant data fetching when hiding/showing the histogram/chart (#206389)\n\nSince the timerange in Discover of the main request is stable we don't need to trigger a main fetch for all data when the histogram/chart is being hidden/displayed, unless it's necessary to get the data (e.g. when the histogram/chart was hiden when a discover session was being loaded)","sha":"a04274723ef64182df96d37d134cc645e20571ee","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:Discover","performance","v9.0.0","Team:DataDiscovery","backport:prev-minor"],"title":"[Discover] Remove redundant data fetching when hiding/showing the histogram/chart","number":206389,"url":"https://github.com/elastic/kibana/pull/206389","mergeCommit":{"message":"[Discover] Remove redundant data fetching when hiding/showing the histogram/chart (#206389)\n\nSince the timerange in Discover of the main request is stable we don't need to trigger a main fetch for all data when the histogram/chart is being hidden/displayed, unless it's necessary to get the data (e.g. when the histogram/chart was hiden when a discover session was being loaded)","sha":"a04274723ef64182df96d37d134cc645e20571ee"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206389","number":206389,"mergeCommit":{"message":"[Discover] Remove redundant data fetching when hiding/showing the histogram/chart (#206389)\n\nSince the timerange in Discover of the main request is stable we don't need to trigger a main fetch for all data when the histogram/chart is being hidden/displayed, unless it's necessary to get the data (e.g. when the histogram/chart was hiden when a discover session was being loaded)","sha":"a04274723ef64182df96d37d134cc645e20571ee"}}]}] BACKPORT--> Co-authored-by: Matthias Wilhelm <[email protected]>
- Loading branch information