-
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
[XY] Expression chart. #127150
[XY] Expression chart. #127150
Conversation
@elasticmachine merge upstream |
…to chart_expressions-xy
# Conflicts: # src/plugins/chart_expressions/expression_xy/common/expression_functions/legend_config.ts # x-pack/plugins/lens/public/xy_visualization/visualization.tsx
@elasticmachine merge upstream |
…to chart_expressions-xy
# Conflicts: # src/plugins/chart_expressions/expression_xy/common/expression_functions/end_value.ts # src/plugins/chart_expressions/expression_xy/public/helpers/fitting_functions.ts # x-pack/plugins/lens/common/expressions/xy_chart/index.ts # x-pack/plugins/lens/common/expressions/xy_chart/xy_args.ts # x-pack/plugins/lens/common/expressions/xy_chart/xy_chart.ts # x-pack/plugins/lens/public/xy_visualization/types.ts # x-pack/plugins/lens/public/xy_visualization/xy_config_panel/visual_options_popover/missing_values_option.tsx
# Conflicts: # packages/kbn-optimizer/limits.yml # src/plugins/chart_expressions/expression_xy/common/expression_functions/layer_config/annotation_layer_config.ts # src/plugins/chart_expressions/expression_xy/public/components/__snapshots__/xy_chart.test.tsx.snap # src/plugins/chart_expressions/expression_xy/public/components/reference_lines.tsx # src/plugins/chart_expressions/expression_xy/public/components/xy_chart.tsx # x-pack/plugins/lens/common/expressions/xy_chart/layer_config/index.ts # x-pack/plugins/lens/common/expressions/xy_chart/xy_args.ts # x-pack/plugins/lens/common/expressions/xy_chart/xy_chart.ts # x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx # x-pack/plugins/lens/public/expressions.ts # x-pack/plugins/lens/public/xy_visualization/color_assignment.ts # x-pack/plugins/lens/public/xy_visualization/expression.test.tsx # x-pack/plugins/lens/public/xy_visualization/index.ts # x-pack/plugins/lens/public/xy_visualization/state_helpers.ts # x-pack/plugins/lens/public/xy_visualization/to_expression.ts # x-pack/plugins/lens/public/xy_visualization/visualization.test.ts # x-pack/plugins/lens/public/xy_visualization/visualization.tsx # x-pack/plugins/lens/public/xy_visualization/visualization_helpers.tsx # x-pack/plugins/lens/public/xy_visualization/xy_config_panel/color_picker.tsx # x-pack/plugins/lens/public/xy_visualization/xy_suggestions.test.ts # x-pack/plugins/lens/server/expressions/expressions.ts # x-pack/plugins/lens/tsconfig.json
# Conflicts: # x-pack/plugins/lens/common/expressions/xy_chart/xy_chart.ts # x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx # x-pack/plugins/lens/public/xy_visualization/expression.test.tsx
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.
Wow, enormous effort, hats off! I like that you not only moved things around but also improved code style and typings in many places 😍 Left a few comments, tested a bit and now I'll test in depth :)
UPDATE: Finished with testing, couldn't find any regression 👌🏼
src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts
Show resolved
Hide resolved
src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts
Outdated
Show resolved
Hide resolved
src/plugins/chart_expressions/expression_xy/public/components/annotations.scss
Outdated
Show resolved
Hide resolved
x-pack/plugins/lens/public/xy_visualization/annotations_helpers.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Marta Bondyra <[email protected]>
# Conflicts: # x-pack/test/functional/apps/lens/show_underlying_data.ts
@elastic/ml-ui, could you, please, leave your review? thanks a lot) |
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.
Code LGTM! Tested on Chrome and everything works as it was before. Approved!
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 SucceededMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
async chunk count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @Kunzetsov |
Summary
Completes part of #127115
xyVis
function and renderer to the separate plugin (chart_expressions/expression_xy) from Lens.Caution!Blocked until #126456 will be merged.