Skip to content

[Lens] Make Lens visualizations shareable across Spaces #168387

Closed as not planned
Closed as not planned

Description

As a precursor to #167901, we think it might be best to make Lens visualizations shareable across spaces. The @elastic/kibana-presentation team would like to help with this so we can get closer to Shareable Dashboards.

Lens was made "share-capable" in 8.0. To make Lens completely "shareable" we need to complete the steps in Phase 2 of the "Sharing saved objects" documentation.

However, there are a few issues not covered by the documentation.

Related objects such as data views and annotation layers are automatically shared to other spaces when sharing a Lens visualization from the Saved Objects management. However, a user can still change or add a related object (data view, for example) to an existing Lens visualization where the data view is not available in the other spaces. We have a similar issue for dashboards.

I think, ideally, we would warn the user immediately if the related object they are adding is not available in other spaces.

For data views, perhaps we prepend a warning icon to the options in the Data View picker when the data view is not shared? Or disable the option completely? @elastic/kibana-design

Screenshot 2023-10-09 at 11 54 03 AM

For annotations that are added from the library we may need a similar warning icon or disable unshared annotations.

Screenshot 2023-10-09 at 12 04 44 PM

@elastic/kibana-visualizations Are there other related objects in Lens besides Annotations and Data views that we need to consider?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Feature:Content ManagementUser generated content (saved objects) managementFeature:LensTeam:PresentationPresentation Team for Dashboard, Input Controls, and CanvasTeam:VisualizationsVisualization editors, elastic-charts and infrastructure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions