-
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 v67 (main) #193694
Conversation
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
@@ -1007,7 +1007,7 @@ export class VisualBuilderPageObject extends FtrService { | |||
|
|||
public async getAreaChartData(chartData?: DebugState, nth: number = 0) { | |||
const areas = (await this.getChartItems(chartData)) as DebugState['areas']; | |||
return areas?.[nth]?.lines.y1.points.map(({ x, y }) => [x, y]); | |||
return areas?.[nth]?.lines.y1.points.sort((a, b) => a.x - b.x).map(({ x, y }) => [x, y]); |
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.
There isn't a sorting order contract for the DebugState, so the internal state could change everytime without being considered a breaking change. Adding here, and in few other places, a sorting to allow a clean comparison
Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant) |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
...ability_solution/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx
Outdated
Show resolved
Hide resolved
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
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.
ML changes LGTM
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @markov00 |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11140782250 |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@elastic/charts](https://togithub.com/elastic/elastic-charts) | dependencies | major | [`66.1.1` -> `67.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.1.1/67.0.0) | --- ### Breaking changes Elastic-charts theme API for line and area charts has changed: - the `point.visible` type for line and area charts is now a union between `'always' | 'never' | 'auto'`. Always and Never will replace the previous boolean configuration, `auto` instead will provide a logic to show the points only of the distance between consecutive points is bigger than the `pointVisibilityMinDistance`. - the isolatedPoint style for line and area doesn't contain the `radius` parameter anymore. The radius is derived from the `line.strokeWidth` parameter. Co-authored-by: Marco Vettorello <[email protected]> (cherry picked from commit 30ef0ec)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
) # Backport This will backport the following commits from `main` to `8.x`: - [Update dependency @elastic/charts to v67 (main) (#193694)](#193694) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-02T08:52:56Z","message":"Update dependency @elastic/charts to v67 (main) (#193694)\n\nThis PR contains the following updates:\r\n\r\n| Package | Type | Update | Change |\r\n|---|---|---|---|\r\n| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |\r\ndependencies | major | [`66.1.1` ->\r\n`67.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.1.1/67.0.0)\r\n|\r\n\r\n---\r\n### Breaking changes\r\n\r\nElastic-charts theme API for line and area charts has changed:\r\n- the `point.visible` type for line and area charts is now a union\r\nbetween `'always' | 'never' | 'auto'`. Always and Never will replace the\r\nprevious boolean configuration, `auto` instead will provide a logic to\r\nshow the points only of the distance between consecutive points is\r\nbigger than the `pointVisibilityMinDistance`.\r\n- the isolatedPoint style for line and area doesn't contain the `radius`\r\nparameter anymore. The radius is derived from the `line.strokeWidth`\r\nparameter.\r\n\r\nCo-authored-by: Marco Vettorello <[email protected]>","sha":"30ef0ecb3c9d91b8f111f96bf0e024d03c49304b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","💝community","v9.0.0","backport:prev-minor","Team:Obs AI Assistant","ci:project-deploy-observability","Team:obs-ux-infra_services","Team:obs-ux-management","apm:review"],"title":"Update dependency @elastic/charts to v67 (main)","number":193694,"url":"https://github.com/elastic/kibana/pull/193694","mergeCommit":{"message":"Update dependency @elastic/charts to v67 (main) (#193694)\n\nThis PR contains the following updates:\r\n\r\n| Package | Type | Update | Change |\r\n|---|---|---|---|\r\n| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |\r\ndependencies | major | [`66.1.1` ->\r\n`67.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.1.1/67.0.0)\r\n|\r\n\r\n---\r\n### Breaking changes\r\n\r\nElastic-charts theme API for line and area charts has changed:\r\n- the `point.visible` type for line and area charts is now a union\r\nbetween `'always' | 'never' | 'auto'`. Always and Never will replace the\r\nprevious boolean configuration, `auto` instead will provide a logic to\r\nshow the points only of the distance between consecutive points is\r\nbigger than the `pointVisibilityMinDistance`.\r\n- the isolatedPoint style for line and area doesn't contain the `radius`\r\nparameter anymore. The radius is derived from the `line.strokeWidth`\r\nparameter.\r\n\r\nCo-authored-by: Marco Vettorello <[email protected]>","sha":"30ef0ecb3c9d91b8f111f96bf0e024d03c49304b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193694","number":193694,"mergeCommit":{"message":"Update dependency @elastic/charts to v67 (main) (#193694)\n\nThis PR contains the following updates:\r\n\r\n| Package | Type | Update | Change |\r\n|---|---|---|---|\r\n| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |\r\ndependencies | major | [`66.1.1` ->\r\n`67.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.1.1/67.0.0)\r\n|\r\n\r\n---\r\n### Breaking changes\r\n\r\nElastic-charts theme API for line and area charts has changed:\r\n- the `point.visible` type for line and area charts is now a union\r\nbetween `'always' | 'never' | 'auto'`. Always and Never will replace the\r\nprevious boolean configuration, `auto` instead will provide a logic to\r\nshow the points only of the distance between consecutive points is\r\nbigger than the `pointVisibilityMinDistance`.\r\n- the isolatedPoint style for line and area doesn't contain the `radius`\r\nparameter anymore. The radius is derived from the `line.strokeWidth`\r\nparameter.\r\n\r\nCo-authored-by: Marco Vettorello <[email protected]>","sha":"30ef0ecb3c9d91b8f111f96bf0e024d03c49304b"}}]}] BACKPORT--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
This PR contains the following updates:
66.1.1
->67.0.0
Breaking changes
Elastic-charts theme API for line and area charts has changed:
point.visible
type for line and area charts is now a union between'always' | 'never' | 'auto'
. Always and Never will replace the previous boolean configuration,auto
instead will provide a logic to show the points only of the distance between consecutive points is bigger than thepointVisibilityMinDistance
.radius
parameter anymore. The radius is derived from theline.strokeWidth
parameter.Release Notes
elastic/elastic-charts (@elastic/charts)
v67.0.0
Compare Source
Bug Fixes
Styles
BREAKING CHANGES
isolatedPoint
style doesn't contain theradius
parameter anymore. The radius is derived from theline.strokeWidth
parameter.66.1.1 (2024-08-09)
Bug Fixes
visualViewport.visualViewport
from withiniFrame
(#2502) (84f5328)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.