Skip to content
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 v55 (main) #153889

Merged
merged 8 commits into from
Apr 6, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 28, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@elastic/charts 54.0.0 -> 55.0.0 age adoption passing confidence

Release Notes

elastic/elastic-charts

v55.0.0

Compare Source

Bug Fixes
  • docs: lint and fix EUI breaking changes (0d14194)
Features

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 28, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Apr 3, 2023

Edited/Blocked Notification

Renovate 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.

Warning: custom changes will be lost.

@nickofthyme
Copy link
Contributor

This PR has a breaking change related to heatmap settings. Namely...

@@ -1424,25 +1424,13 @@ export interface HeatmapStyle {
     grid: {
-        cellWidth: {
-            min: Pixels;
-            max: Pixels | 'fill';
-        };
-        cellHeight: {
-            min: Pixels;
-            max: Pixels | 'fill';
-        };
         stroke: {
             color: string;
             width: number;
         };
     };
-    maxColumnWidth: Pixels;
     maxLegendHeight?: number;
-    maxRowHeight: Pixels;

The maxColumnWidth and maxRowHeight values were not being used anywhere thus have no impact to any kibana usage.

The grid.cellWidth and grid.cellHeight properties were removed to prevent inaccessible pagination, see full rational in the description details of elastic/elastic-charts#1933.


I've testing ML swimlane compared with 8.7 and don't see any issues pertaining to removal of these grid constraints.

@nickofthyme nickofthyme marked this pull request as ready for review April 4, 2023 17:19
@nickofthyme nickofthyme requested review from a team as code owners April 4, 2023 17:19
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

Comment on lines -527 to -530
cellHeight: {
max: 'fill',
min: 1,
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No effect here, this would have filled rows to available space anyways.

Comment on lines -294 to -297
cellHeight: {
min: CELL_HEIGHT,
max: CELL_HEIGHT,
},
Copy link
Contributor

@nickofthyme nickofthyme Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the overall chart height is computed based on the desired row height, this would have had no effect. Nor does the UI change from this removal looking at the Anomaly Explorer in ml between this PR and 8.7.

Comment on lines -18 to -20
cellHeight: {
min: 20,
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to verify this change, @elastic/uptime could you verify this chart has no regressions from this change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Comment on lines -26 to -27
maxRowHeight: 30,
maxColumnWidth: CHART_CELL_WIDTH,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used in charts so no change.

@botelastic botelastic bot added the Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability label Apr 4, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #15 / context app context filters filter for presence should be addable via expanded data grid rows
  • [job] [logs] FTR Configs #29 / dashboard app - group 1 Changing field formatter to Url applied on dashboard

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
expressionHeatmap 89.2KB 89.2KB -30.0B
ml 3.4MB 3.4MB -27.0B
synthetics 1.4MB 1.4MB -54.0B
total -111.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kbnUiSharedDeps-npmDll 5.4MB 5.4MB +6.9KB
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 432 435 +3

Total ESLint disabled count

id before after diff
securitySolution 512 515 +3

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@darnautov darnautov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ML changes tested and LGTM

@nickofthyme
Copy link
Contributor

@elasticmachine run elasticsearch-ci/docs

Copy link
Contributor

@awahab07 awahab07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment on lines -18 to -20
cellHeight: {
min: 20,
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visualizations changes LGTM, I am working on a draft PR which enables small multiples in heatmap and it works fine.

@stratoula stratoula merged commit b8409c9 into main Apr 6, 2023
@stratoula stratoula deleted the renovate/main-@elasticcharts branch April 6, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants