-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Lens] Make "empty state" display consistent across charts #136502
Copy link
Copy link
Closed
Labels
Feature:ElasticChartsIssues related to the elastic-charts libraryIssues related to the elastic-charts libraryFeature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultNew value added to drive a business resultimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.Addressing this issue will have a medium level of impact on the quality/strength of our product.
Metadata
Metadata
Assignees
Labels
Feature:ElasticChartsIssues related to the elastic-charts libraryIssues related to the elastic-charts libraryFeature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultNew value added to drive a business resultimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.Addressing this issue will have a medium level of impact on the quality/strength of our product.
Type
Fields
Give feedbackNo fields configured for issues without a type.
In order to reduce changing layout when a dashboard is rendered without data for any reason, empty states should be aligned across chart types, with minimal differences to non-empty states (leveraging existing meta information about domains)
Various empty states: https://www.figma.com/file/gN9GXdZl0NMvdBjZfTo5Ib/Lens-Empty-States?node-id=2%3A8
Blocked on elastic-charts capabilities for now.
For data grid:
To render dummy table rows, a repeating background on the
virtualizedcontainer can be used:The
background-position-yhas to be calculated using the size of the actual div element containing the rows (which doesn't have a class name) - this can be done by getting a reference to this element and checking the height.