-
Notifications
You must be signed in to change notification settings - Fork 8.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
[TSVB] Adds ignore DST
switch for timeseries
#98484
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
@@ -227,6 +228,21 @@ export class TimeseriesPanelConfig extends Component< | |||
/> | |||
</EuiFormRow> | |||
</EuiFlexItem> | |||
<EuiFlexItem grow={false}> | |||
<EuiFormLabel> |
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.
Please use EuiFormRow component like we already did for all similar places. See #97796
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.
Added EuiFormRow
@@ -4436,6 +4436,7 @@ | |||
"visTypeTimeseries.timeseries.optionsTab.dataLabel": "データ", | |||
"visTypeTimeseries.timeseries.optionsTab.displayGridLabel": "グリッドを表示", | |||
"visTypeTimeseries.timeseries.optionsTab.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?", | |||
"visTypeTimeseries.timeseries.optionsTab.ignoreDaylightTimeLabel": "夏時間を無視しますか?", |
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.
You shouldn't add the new translations. There is a team that finds the new texts and translates them, so no need to change these files
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.
Removed
ignore DST
switch for timeseries
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.
LGTM!
@elasticmachine merge upstream |
src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.js
Outdated
Show resolved
Hide resolved
...ins/vis_type_timeseries/public/application/components/lib/create_interval_based_formatter.ts
Outdated
Show resolved
Hide resolved
src/plugins/vis_type_timeseries/public/application/components/panel_config/timeseries.tsx
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
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.
LGTM, I tested it locally and I can't find any regression. I think it works fine.
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @dmitriynj |
* [TSVB] add ignore DST switch * [TSVB] move YesNo component to timeseries panel, get rid of getTimezone call * [TSVB] reduce formatter creation number * [TSVB] add usage EuFormRow, remove redundant translations * [TSVB] use boolean instead of number * [TSVB] use number for YesNo * [TSVB] resolve YesNo value type * [TSVB] replace number with boolean Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* [TSVB] add ignore DST switch * [TSVB] move YesNo component to timeseries panel, get rid of getTimezone call * [TSVB] reduce formatter creation number * [TSVB] add usage EuFormRow, remove redundant translations * [TSVB] use boolean instead of number * [TSVB] use number for YesNo * [TSVB] resolve YesNo value type * [TSVB] replace number with boolean Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Dmitry Tomashevich <[email protected]>
Closes #33006
Summary
interval
changesSteps to reproduce
Europe/Berlin
time zone"@timestamp": "2021-03-27T08:30:00"
(UTC)"@timestamp": "2021-03-28T08:30:00"
(UTC)Actual behaviour: First bucked is 09:30 (CET +01:00), the second is shifted due to DST and has 10:30 (CEST +02:00)
Expected behaviour: Both should be the same 09:30
Before
After
Before
After