-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Explore: Fix timepicker when browsing back after switching datasource #21454
Explore: Fix timepicker when browsing back after switching datasource #21454
Conversation
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.
went out to be just a small change - LGTM.
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.
Yup works great!
Since this is a bug fix, I would have liked to see some sort of improvement to make this less likely from happening again, either via stricter types or a test case.
Since the fix uses the raw time range, should the payload types not change? See
|
This resulted in change in Explore.ts where instead of supplying |
…ation * origin/master: Explore: Fix timepicker when browsing back after switching datasource (#21454) Add disabled option for cookie samesite attribute (#21472) Chore: Adds basic alerting notification service tests (#21467) ImportDashboardCommand: Validate JSON fields (#21350) Docs: add test for website build (#21364) Fix: when clicking a plot on a touch device we won't display the annotation menu (#21479) Backend Plugins: add a common implementation (#21408) Alerting: new min_interval_seconds options to enforce a minimum eval frequency (#21188) Panel: Use Tabs in panel inspector (#21468)
What this PR does / why we need it:
Browsing back after switching datasource used to change time picker (see issue).
This issue was caused by suppling incorrect argument in
initializeExplore
function used inrefreshExplore
. This function requiresrawRange
, butrange
was supplied which resulted in the above mentioned bug. This PR fixes this.Which issue(s) this PR fixes:
Fixes #20933