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

[PieVis] Charts expressions pie adaptation. #121763

Merged
merged 52 commits into from
Jan 6, 2022

Conversation

Kuznietsov
Copy link
Contributor

@Kuznietsov Kuznietsov commented Dec 21, 2021

Summary

Completes the part of #121725 and #101377

Introduced changes:

Screenshot 2021-12-22 at 17 53 51

@Kuznietsov Kuznietsov self-assigned this Dec 21, 2021
@Kuznietsov Kuznietsov added accessibility: design system Accessibility issues that can be updated with EUI WIP Work in progress and removed accessibility: design system Accessibility issues that can be updated with EUI labels Dec 21, 2021
…ptation

# Conflicts:
#	src/plugins/chart_expressions/expression_pie/kibana.json
#	src/plugins/chart_expressions/expression_pie/public/types.ts
# Conflicts:
#	src/plugins/chart_expressions/expression_pie/common/expression_functions/pie_vis_function.test.ts
#	src/plugins/chart_expressions/expression_pie/common/expression_functions/pie_vis_function.ts
#	src/plugins/chart_expressions/expression_pie/common/types/expression_functions.ts
#	src/plugins/chart_expressions/expression_pie/common/types/expression_renderers.ts
#	src/plugins/chart_expressions/expression_pie/kibana.json
#	src/plugins/chart_expressions/expression_pie/public/components/pie_vis_component.scss
#	src/plugins/chart_expressions/expression_pie/public/components/pie_vis_component.test.tsx
#	src/plugins/chart_expressions/expression_pie/public/components/pie_vis_component.tsx
#	src/plugins/chart_expressions/expression_pie/public/expression_renderers/pie_vis_renderer.tsx
#	src/plugins/chart_expressions/expression_pie/public/plugin.ts
#	src/plugins/chart_expressions/expression_pie/public/types.ts
#	src/plugins/chart_expressions/expression_pie/public/utils/get_split_dimension_accessor.ts
#	src/plugins/chart_expressions/expression_pie/tsconfig.json
#	src/plugins/vis_types/pie/public/to_ast.ts
#	src/plugins/vis_types/pie/public/types/types.ts
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
expressionPie 42 37 -5

Async chunks

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

id before after diff
expressionPie 43.3KB 39.4KB -3.8KB

Page load bundle

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

id before after diff
expressionPie 11.0KB 11.3KB +268.0B
visTypePie 7.8KB 7.9KB +104.0B
total +372.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
expressionPie 1 3 +2

References to deprecated APIs

id before after diff
expressionPie 15 6 -9

Total ESLint disabled count

id before after diff
expressionPie 1 3 +2

History

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

cc @Kunzetsov

@Kuznietsov Kuznietsov marked this pull request as ready for review January 5, 2022 08:39
@Kuznietsov Kuznietsov requested review from a team as code owners January 5, 2022 08:39
@Kuznietsov Kuznietsov added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jan 5, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@Kuznietsov Kuznietsov added Feature:Vis Editor Visualization editor issues loe:medium Medium Level of Effort Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting v8.1.0 and removed Feature:Visualizations Generic visualization features (in case no more specific feature label is available) WIP Work in progress labels Jan 5, 2022
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.

Changes LGTM. I tested it locally in Chrome and works fine (the viz editor pie, I haven't tested the canvas pie) :) Thanx for the improvements Yaroslav :)

@Kuznietsov
Copy link
Contributor Author

@elastic/kibana-operations and @elastic/kibana-design, could you, please, review the current PR? Thanks)

@Kuznietsov Kuznietsov merged commit 3e91803 into elastic:main Jan 6, 2022
@Kuznietsov
Copy link
Contributor Author

@jbudz and @MichaelMarcialis, thanks for your reviews.

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 Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Feature:Vis Editor Visualization editor issues impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:medium Medium Level of Effort release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants