[Metrics App] Use the timefilter API to load and persist time range selections #79301
Labels
enhancement
New value added to drive a business result
Feature:Metrics UI
Metrics UI feature
Team:Infra Monitoring UI - DEPRECATED
DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Milestone
When users select a time range in one app in Kibana, moving to a different section of the app should probably retain that selected time range for them. We can achieve this by using the timefilter cache in the data plugin.
Notes:
useKibanaTimefilterTime
hook created by Logs team so we can tell the difference between user-changed values and defaults, in case we want to maintain our own defaults when a user has not interacted with the range at all. See PR here: https://github.com/elastic/kibana/pull/79444/files#diff-39018f702d5ddf2f38eb2de5153275dcefe3699cdd81c8fb1dfffc4e44905488Getting the timefilter state:
Setting the timefilter state:
See APM's PR for this work: #79090
The text was updated successfully, but these errors were encountered: