[Lens] use embeddable in editor #166522
Labels
blocked
Feature:Lens
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:needs-research
This issue requires some research before it can be worked on or estimated
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
technical debt
Improvement of the software architecture and operational architecture
Describe the feature:
We currently maintain two components for rendering Lens visualizations
At the end of the day, these two components both accept a Lens configuration, render it, emit user events, and respond to context changes (e.g. time range, visualization configuration, filters).
However, they are quite different implementations and this causes a maintenance burden over time.
For example, it took a lot of extra effort to get the User Messages system to work in both components.
The differences can lead to bugs, sometimes bad ones like #149667 which was only apparent in the Embeddable.
The way things are now also increases our testing surface since we can't depend on Lens to function the same outside the editor as it does inside.
We derived a lot of benefit from unifying the XY visualization expression renderers. I'm confident that we'd reap the same quality and stability benefits from unifying this part of the render stack as well.
The text was updated successfully, but these errors were encountered: