Update dependency @elastic/charts to v23.0.0#79226
Conversation
|
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: 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: |
|
@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.0Note 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
headerFormatterto change the formatting of the tooltip header.The breaking change is the following: the
TooltipValue.valueis now raw value (not formatted with the X axis configured tick formatter) andTooltipValue.formattedValueis 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.valueis now raw value andTooltipValue.formattedValueis now thestring formatted value.
@elastic/charts update procedure
Checklist
Delete any items that are not applicable to this PR.