Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "Save to library" option when creating a panel in the dashboard #178198

Closed
5 tasks
teresaalvarezsoler opened this issue Mar 7, 2024 · 7 comments
Closed
5 tasks
Labels
Feature:Dashboard Dashboard related features impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects

Comments

@teresaalvarezsoler
Copy link

teresaalvarezsoler commented Mar 7, 2024

Why is this important
Most panels should be by-value so we will make it the default and only option during panel creation. Users will still be able to find the “Save to Library” option in the panel menu for those panels where this option makes sense (see image below)
Image

Requirements
Remove the options to save to library when the panel is created from a Dashboard for the following panel types
Image

  • Lens
  • Maps
  • Custom visualizations
  • TSVB
  • Agg based
@botelastic botelastic bot added the needs-team Issues missing a team label label Mar 7, 2024
@teresaalvarezsoler teresaalvarezsoler added Feature:Dashboard Dashboard related features triage_needed Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas and removed needs-team Issues missing a team label labels Mar 7, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@kibanamachine kibanamachine added this to Inbox in Dashboard Mar 7, 2024
@ThomThomson
Copy link
Contributor

@teresaalvarezsoler I don't think we should make the Links panel by value by default. By definition, the links panel is usually shared between multiple Dashboards -the Dashboards that it links off to. If we made it by value by default, authors would either need to manually add it to the library, or keep multiple separate versions of the links in sync.

@nreese
Copy link
Contributor

nreese commented Mar 7, 2024

with the migration to react embeddables, we could move the entire map editing experience into dashboard for by-value maps. Should this be a part of this effort?

@ThomThomson ThomThomson added loe:small Small Level of Effort and removed triage_needed labels Mar 7, 2024
@mwtyang
Copy link

mwtyang commented Mar 8, 2024

@ThomThomson Dashboards should be the root entity where users should interact with our visualizations. By providing users "easy-button" to recreate by-reference visualizations, it creates problems that users may not realize like difficulties in managing dashboard-as-a-code or sharing dashboards across spaces. Basically, it's not feasible to do these things with dashboards with by-reference visualizations. If users do need to share visualizations across multiple dashboards, then they can still do it via adding to visualization library from the initial dashboard. By the way, this is the only way you can share visualizations across multiple dashboards in Grafana as well.

cc @thomasneirynck @timductive

@teresaalvarezsoler
Copy link
Author

I will get some telemetry to make the decision about the links panel. We made it by-ref by default assuming that 80% of the time users will need to re-use it in different dashboards.

with the migration to react embeddables, we could move the entire map editing experience into dashboard for by-value maps. Should this be a part of this effort?

@nreese this is a great idea, what do you have in mind? Will that imply removing the Maps section entirely? (users will still be able to find them in the Visualize library list page)

@nreese
Copy link
Contributor

nreese commented Mar 11, 2024

@nreese this is a great idea, what do you have in mind? Will that imply removing the Maps section entirely? (users will still be able to find them in the Visualize library list page)

No, maps application would still exist as is today. The only difference would be that for by-value maps, the editing experience would be completely contained in dashboard. The map would show add layer button and edit layer buttons when in edit mode and user has write permissions. Click would open a flyout similiar to lens ESQL flyout allowing users to create/edit layers.

@cqliu1 cqliu1 added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort and removed loe:small Small Level of Effort labels Apr 25, 2024
@teresaalvarezsoler
Copy link
Author

This enhancement is included in this other issue in the Viz team roadmap #181982. It seems it's more natural that the Viz team takes care of it so I'm removing it form our board.

@teresaalvarezsoler teresaalvarezsoler closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Dashboard Dashboard related features impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
No open projects
Dashboard
  
Inbox
Development

No branches or pull requests

6 participants