[Agg based pie][Lens]Navigate to lens Agg based pie#140879
[Agg based pie][Lens]Navigate to lens Agg based pie#140879Kuznietsov merged 304 commits intoelastic:mainfrom
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) |
stratoula
left a comment
There was a problem hiding this comment.
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.
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.
@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
# 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) |
mbondyra
left a comment
There was a problem hiding this comment.
Rechecked everything and works as expected 👌🏼 Approved!
stratoula
left a comment
There was a problem hiding this comment.
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.