-
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
Update dependency @elastic/charts to v23.0.0 #79226
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.
LGTM
The type errors seem unrealated 🤔 ERROR x-pack failed
x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts:81:36 - error TS2339: Property 'partition_field_name' does not exist on type '{ detector_description: string; function: string; field_name: string; }'.
81 analysis_config.detectors[0].partition_field_name = partitionField;
~~~~~~~~~~~~~~~~~~~~
x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts:118:36 - error TS2339: Property 'aggregations' does not exist on type '{ job_id: string; indices: string[]; indices_options: { allow_no_indices: boolean; }; query: { bool: { must: { exists: { field: string; }; }[]; }; }; } | { job_id: string; indices: string[]; indices_options: { ...; }; query: { ...; }; chunking_config: { ...; }; aggregations: { ...; }; } | { ...; }'.
Property 'aggregations' does not exist on type '{ job_id: string; indices: string[]; indices_options: { allow_no_indices: boolean; }; query: { bool: { must: { exists: { field: string; }; }[]; }; }; }'.
118 ...defaultDatafeedConfig.aggregations,
~~~~~~~~~~~~
x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts:113:29 - error TS2339: Property 'aggregations' does not exist on type '{ job_id: string; indices: string[]; indices_options: { allow_no_indices: boolean; }; query: { bool: { must: { exists: { field: string; }; }[]; }; }; } | { job_id: string; indices: string[]; indices_options: { ...; }; query: { ...; }; chunking_config: { ...; }; aggregations: { ...; }; } | { ...; }'.
Property 'aggregations' does not exist on type '{ job_id: string; indices: string[]; indices_options: { allow_no_indices: boolean; }; query: { bool: { must: { exists: { field: string; }; }[]; }; }; }'.
113 defaultDatafeedConfig.aggregations[DEFAULT_K8S_PARTITION_FIELD].aggregations;
~~~~~~~~~~~~
Found 3 errors. |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]@kbn/ui-shared-deps asset size
distributable file count
History
To update your PR or re-run it, just comment with: |
@shahzad31 I'd like to have your review on the tooltip header used in the following file: kibana/x-pack/plugins/apm/public/components/app/RumDashboard/Charts/PageLoadDistChart.tsx Lines 75 to 83 in 07ebb81
We changed the current format of the TooltipValue with:
Also note that this update fixes the issues you have reported here: elastic/elastic-charts#825 |
@flash1293 I want to point your attention to this code here, can you please check if that upgrade doesn't affect that? kibana/x-pack/plugins/lens/public/xy_visualization/expression.tsx Lines 388 to 390 in 198c5d9
|
@peteharverson could you please review this dependency upgrade and in particular if the mentioned breaking changes affect this part of your code: Lines 59 to 72 in bf04235
|
@markov00 on the Lens side it's ok that line as we convert the particular case to |
@markov00 fix for elastic/elastic-charts#825 seems to be working great |
@shahzad31 probably this is the right image (your seems not being uploaded completely) I think the issue here is that you are using the
Update This is not a breaking change introduced with this PR, but it was already there since version 21.1.0 |
Summary
This PR contains the following updates:
21.1.2
->23.0.0
Note on BREAKING CHANGES for Reviewers
There is just a main breaking change from the previous version and you can encounter it only if you use the
headerFormatter
to change the formatting of the tooltip header.The breaking change is the following: the
TooltipValue.value
is now raw value (not formatted with the X axis configured tick formatter) andTooltipValue.formattedValue
is now the actual formatted value.Release Notes
elastic/elastic-charts
23.0.0 (2020-09-30)
Bug Fixes
Features
BREAKING CHANGES
the line/area between non-consecutive data points will be rendered as a continuous line/area without adding an uncertain dashed line/ semi-transparent area that connects the two, non-adjacent, points.
22.0.0 (2020-09-22)
Bug Fixes
Features
BREAKING CHANGES
TooltipValue.value
is now raw value andTooltipValue.formattedValue
is now thestring formatted value.
@elastic/charts update procedure
Checklist
Delete any items that are not applicable to this PR.