-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
grafana/ui: Timezone picker #19364
grafana/ui: Timezone picker #19364
Conversation
return group.options.find(option => option.value === value); | ||
}); | ||
|
||
console.log(selectedValue); |
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.
console.log :)
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.
Looks good! just some minor nitpicks.
]; | ||
}; | ||
|
||
const europeZones = [ |
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.
Can you move these into the getTimeZoneGroups function so we do not need to create these arrays in global scope?
* grafana/master: MySQL: Limit datasource error details returned from the backend (#19373) MySQL, Postgres: Update raw sql when query builder updates (#19209) MySQL, Postgres, MSSQL: Fix validating query with template variables in alert (#19237) Explore: Do not send explicit maxDataPoints for logs. (#19235) grafana/ui: Add Timezone picker (#19364) Heatmap: use DataFrame rather than LegacyResponseData (#19026) Explore: Refactor mode selection (#19356) Dashboard: Fix export for sharing when panels use default data source (#19315) Azure Monitor: Revert support for cross resource queries (#19115)" (#19346) grafana/ui: Add electrical units mAh and kAh (#19314) grafana/ui: Add Indian Rupee (INR) to currencies (#19201) Chore: Bump typescript to version 3.6.3 (#19308)
…uery * grafana/master: MySQL: Limit datasource error details returned from the backend (grafana#19373) MySQL, Postgres: Update raw sql when query builder updates (grafana#19209) MySQL, Postgres, MSSQL: Fix validating query with template variables in alert (grafana#19237) Explore: Do not send explicit maxDataPoints for logs. (grafana#19235) grafana/ui: Add Timezone picker (grafana#19364) Heatmap: use DataFrame rather than LegacyResponseData (grafana#19026) Explore: Refactor mode selection (grafana#19356) Dashboard: Fix export for sharing when panels use default data source (grafana#19315) Azure Monitor: Revert support for cross resource queries (grafana#19115)" (grafana#19346) grafana/ui: Add electrical units mAh and kAh (grafana#19314) grafana/ui: Add Indian Rupee (INR) to currencies (grafana#19201) Chore: Bump typescript to version 3.6.3 (grafana#19308) Explore: Refactor live tail controls (grafana#19328) Docs: Documentation for return-to-dashboard feature (grafana#19198) Select: Set placeholder color (grafana#19309) Keybindings: Improve esc / exit / blur logic (grafana#19320) Plugins: Skips existence of module.js for renderer plugins (grafana#19318) Explore: Fix unsubscribing from Loki websocket (grafana#19263)
* first things and story * fixed data structure and fixed picker * remove console log * move variables into global scope (cherry picked from commit bb0a438)
* first things and story * fixed data structure and fixed picker * remove console log * move variables into global scope (cherry picked from commit bb0a438)
What this PR does / why we need it:
Adds a TimeZone picker.