-
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
[Agg based pie][Lens]Navigate to lens Agg based pie #140879
[Agg based pie][Lens]Navigate to lens Agg based pie #140879
Conversation
…hub.com:Kunzetsov/kibana into navigate-to-lens-context-converting-imporvement
…ntext-converting-imporvement
…hub.com:Kunzetsov/kibana into navigate-to-lens-context-converting-imporvement # Conflicts: # src/plugins/vis_types/timeseries/public/convert_to_lens/types.ts
…hub.com:Kunzetsov/kibana into navigate-to-lens-context-converting-imporvement
…hub.com:Kunzetsov/kibana into navigate-to-lens-context-converting-imporvement
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
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.
This looks good. Some comments from my side:
- I would like to see a functional test that tests the transition from the agg pie to the lens pie.
- This text here is not aligned with our guidelines. I feel that the aggregation should not start with a capital letter.
- I choose to hide the labels but when I navigate to Lens I can see them
- Same for hide values
]); | ||
canNavigateToLens ? `render_${visualizationType}_${visType}_convertable` : undefined, | ||
].filter(Boolean) as string[]; | ||
plugins.usageCollection?.reportUiCounter(containerType, METRIC_TYPE.COUNT, events); |
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.
What is this going to measure if the events are undefined? Why don't we allow the reportCounter only if events are defined?
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.
@stratoula, as I see from the code, events
will always contain render_${visualizationType}_${visType}
. WDYT?
...s/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.ts
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.
# Conflicts: # src/plugins/visualizations/common/convert_to_lens/types/configurations.ts
@stratoula, @mbondyra, while I'm adding functional tests, could you, please, review this PR again? I've fixed all the problems you mentioned. Thanks) |
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.
Rechecked everything and works as expected 👌🏼 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.
Also checked it again, all comments have been addressed! Thanx Yaroslav!
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @VladLasitsa |
Summary
Completes part of #138236.
As part of phasing out TSVB and Visualize all Legacy agg based visulizations should support "open in lens" functionality.
In that PR converter for Aggregation based Pie was added.