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

[XY] showTooltip argument. #130530

Merged
merged 171 commits into from
May 30, 2022

Conversation

Kuznietsov
Copy link
Contributor

@Kuznietsov Kuznietsov commented Apr 19, 2022

Summary

Completes part of #127115
Added showTooltip to the dataLayer and extendedDataLayer expressions.

Screenshots

Screenshot 2022-05-26 at 11 56 17

Screenshot 2022-05-26 at 11 56 46

Screenshot 2022-05-26 at 11 56 57

Testing notes

kibana
| selectFilter
| demodata
| head 10
| pointseries x="time" y="mean(price)"
| xyVis seriesType="line" showTooltip=false
| render

# Conflicts:
#	x-pack/plugins/translations/translations/fr-FR.json
#	x-pack/plugins/translations/translations/ja-JP.json
…sions-xy-show-tooltip

# Conflicts:
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis.ts
@Kuznietsov Kuznietsov added WIP Work in progress accessibility: design system Accessibility issues that can be updated with EUI and removed accessibility: design system Accessibility issues that can be updated with EUI labels May 6, 2022
# Conflicts:
#	packages/kbn-optimizer/limits.yml
#	src/plugins/chart_expressions/expression_xy/common/__mocks__/index.ts
#	src/plugins/chart_expressions/expression_xy/common/constants.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/annotation_layer.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/common_data_layer_args.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/common_xy_args.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/data_layer.test.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_annotation_layer.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/index.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/legend_config.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line_layer.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis.test.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis.ts
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis_fn.ts
#	src/plugins/chart_expressions/expression_xy/common/helpers/index.ts
#	src/plugins/chart_expressions/expression_xy/common/helpers/layers.test.ts
#	src/plugins/chart_expressions/expression_xy/common/helpers/layers.ts
#	src/plugins/chart_expressions/expression_xy/common/i18n/index.tsx
#	src/plugins/chart_expressions/expression_xy/common/index.ts
#	src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts
#	src/plugins/chart_expressions/expression_xy/common/types/expression_renderers.ts
#	src/plugins/chart_expressions/expression_xy/common/utils/log_datatables.ts
#	src/plugins/chart_expressions/expression_xy/public/__mocks__/index.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/__snapshots__/xy_chart.test.tsx.snap
#	src/plugins/chart_expressions/expression_xy/public/components/annotations.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/data_layers.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/legend_action.test.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/legend_action.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/reference_lines.test.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/reference_lines.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/x_domain.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/xy_chart.test.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/xy_chart.tsx
#	src/plugins/chart_expressions/expression_xy/public/helpers/axes_configuration.ts
#	src/plugins/chart_expressions/expression_xy/public/helpers/color_assignment.ts
#	src/plugins/chart_expressions/expression_xy/public/helpers/data_layers.tsx
#	src/plugins/chart_expressions/expression_xy/public/helpers/index.ts
#	src/plugins/chart_expressions/expression_xy/public/helpers/interval.ts
#	src/plugins/chart_expressions/expression_xy/public/helpers/layers.ts
#	src/plugins/chart_expressions/expression_xy/public/helpers/state.ts
#	src/plugins/chart_expressions/expression_xy/public/helpers/visualization.ts
#	src/plugins/chart_expressions/expression_xy/public/plugin.ts
#	src/plugins/chart_expressions/expression_xy/server/plugin.ts
#	src/plugins/event_annotation/common/index.ts
#	src/plugins/event_annotation/common/manual_event_annotation/index.ts
#	src/plugins/event_annotation/common/types.ts
#	src/plugins/expressions/common/execution/execution.test.ts
#	src/plugins/expressions/common/execution/execution.ts
#	x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts
#	x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx
#	x-pack/plugins/lens/public/shared_components/legend_settings_popover.tsx
#	x-pack/plugins/lens/public/xy_visualization/__snapshots__/to_expression.test.ts.snap
#	x-pack/plugins/lens/public/xy_visualization/to_expression.ts
#	x-pack/plugins/lens/public/xy_visualization/types.ts
#	x-pack/plugins/lens/public/xy_visualization/visualization.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/annotations_config_panel/annotations_panel.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/color_picker.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/reference_line_config_panel/reference_line_panel.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/shared/icon_select.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/shared/marker_decoration_settings.tsx
#	x-pack/plugins/lens/server/embeddable/make_lens_embeddable_factory.ts
#	x-pack/plugins/lens/server/migrations/common_migrations.ts
#	x-pack/plugins/lens/server/migrations/saved_object_migrations.test.ts
#	x-pack/plugins/lens/server/migrations/saved_object_migrations.ts
@Kuznietsov Kuznietsov removed the WIP Work in progress label May 26, 2022
@Kuznietsov Kuznietsov marked this pull request as ready for review May 26, 2022 08:58
@Kuznietsov Kuznietsov requested a review from a team as a code owner May 26, 2022 08:58
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@VladLasitsa VladLasitsa left a comment

Choose a reason for hiding this comment

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

LGTM!

@Kuznietsov
Copy link
Contributor Author

@elastic/kibana-vis-editors, could you, please, review this PR.

@Kuznietsov
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
expressionXY 135 136 +1
lens 499 500 +1
total +2

Async chunks

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

id before after diff
expressionXY 86.6KB 86.7KB +67.0B

Page load bundle

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

id before after diff
expressionXY 32.5KB 32.7KB +184.0B
Unknown metric groups

API count

id before after diff
expressionXY 145 146 +1
lens 576 577 +1
total +2

History

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

cc @Kunzetsov

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

Tested and works as expected, LGTM

@Kuznietsov Kuznietsov merged commit 5bab21e into elastic:main May 30, 2022
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:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort release_note:feature Makes this part of the condensed release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants