[Lens] allow rendering despite invalid dimensions/layers #144906
Labels
enhancement
New value added to drive a business result
Feature:Lens
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:x-large
Extra Large Level of Effort
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
usability
Describe the feature
Today in many cases Lens will not render a chart because of a single invalid dimension or layer. The rest of the chart configuration may be perfectly valid and if the problematic portion of the configuration were ignored, we could still show the user a partial chart while still signaling the problem with this dimension-local pattern we use for reference lines:
This would make for a better user experience than we have today since
We could also make the error icon mutually exclusive with the existing swatch/collapsed/palette dimension icon.
Specific use cases
Questions
Related questions
Technical thinking
This change would involve allowing the visualization class to mark certain dimensions as invalid for all purposes (including data fetching) except display to the user.
One idea from @dej611 could be creating a validation pipeline that is applied to the datasource and/or visualization state before that state is used for anything but displaying the dimension configurations.
The text was updated successfully, but these errors were encountered: