-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:DashboardDashboard related featuresDashboard related featuresTeam: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 result
Description
#44702 added a neat feature where users can save descriptions with their visualizations and then those descriptions are available on dashboards. This is a great way to provide context for panels in dashboards.
The problem is that the implementation is Visualization embeddable specific.
function getViewDescription(embeddable: IEmbeddable | VisualizeEmbeddable) {
if (embeddable.type === VISUALIZE_EMBEDDABLE_TYPE) {
const description = embeddable.getVisualizationDescription();
if (description) {
return description;
}
}
return '';
}
The Maps app would like to provide the some type of functionality so users can provide context for maps when they are embedded in Dashboards, or any where else.
It would be great if getViewDescription would work for any embeddable and just use something more generic like embeddable.getDescription()
cc @stacey-gammon @elastic/kibana-gis @streamich @friol
Metadata
Metadata
Assignees
Labels
Feature:DashboardDashboard related featuresDashboard related featuresTeam: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 result
