Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stack monitoring] Timepicker doesn't correctly pick defaults values for refresh interval #126496

Closed
Tracked by #127224
estermv opened this issue Feb 28, 2022 · 1 comment · Fixed by #127797
Closed
Tracked by #127224
Assignees
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

Comments

@estermv
Copy link
Contributor

estermv commented Feb 28, 2022

Kibana version:
main

Describe the bug:
When the user changes the default pause field for timepicker:refreshIntervalDefaults it gets ignored by the timepicker in Stack monitoring unless the value field is also changed

Steps to reproduce:

  1. Go to Stack Management -> Advanced settings

  2. Change the value for timepicker:refreshIntervalDefaults to

    {
      "pause": true,
      "value": 0
    }
    
  3. Go to Stack Monitoring

  4. 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

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.

@estermv estermv added bug Fixes for quality problems that affect the customer experience Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services Feature:Stack Monitoring labels Feb 28, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants