[Dashboard] Properly Extract and Inject references of by value panels #92900
Labels
Feature:Dashboard
Dashboard related features
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
v7.13.0
In #91567 we added some
extracts
to the common factories so that dashboards get proper references when saving them.Those injects did no properly remove the references from the given state because we could have issues arise with name conflicts between two references. (Ex, a visualize index-pattern is always given the same name, so having two visualizations in a dashboard, extracting the index-patterns and altering the state, we wouldn't be able to properly piece them back together.
We should, in dashboard, handle this and maybe prefix the reference with the panel-id, or something like that, so we can pass the proper references back to
inject
to piece things back together properly.The text was updated successfully, but these errors were encountered: