-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
Dashboards: Fixes issue where panels would not refresh if time range updated while in panel view mode #83418
Conversation
…updated while in panel view mode
This PR must be merged before a backport PR will be created. |
1 similar comment
This PR must be merged before a backport PR will be created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me 🙌🏾 , great work @kaydelaney
Btw, It seems this bug was always present 🤔, can we add some unit tests for this?
I found this test suite, it looks like a good place to add this test case: https://github.com/grafana/grafana/blob/main/public/app/features/dashboard/state/DashboardModel.refresh.test.ts
I have a follow-up PR that fixes the tests. :) It changes a few other related things too, so I'm leaving it for that |
Fixes an issue where panels would not refresh upon exiting panel view if the time range was updated while viewing the panel.