[Stack monitoring] Timepicker doesn't correctly pick defaults values for refresh interval #126496
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Stack Monitoring
Team:Infra Monitoring UI - DEPRECATED
DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Kibana version:
main
Describe the bug:
When the user changes the default
pause
field fortimepicker:refreshIntervalDefaults
it gets ignored by the timepicker in Stack monitoring unless thevalue
field is also changedSteps to reproduce:
Go to Stack Management -> Advanced settings
Change the value for
timepicker:refreshIntervalDefaults
toGo to Stack Monitoring
Refresh in the timepicker is still active.
Expected behavior:
Refresh is paused when the default value is
true
Any additional context:
The problem could be with this condition
kibana/x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx
Line 55 in 4b1bf83
as we check if we need to override values from the data plugin timefilter service to set the defaults for Stack Monitoring (
{value: 10000, pause: false}
). I'm not sure if we can detect when the defaults have been modified by the user or not.The text was updated successfully, but these errors were encountered: