[Embeddables] Duplicate, Copy to dashboard, and Save as new dashboard actions do not include references #183551
Labels
bug
Fixes for quality problems that affect the customer experience
impact:critical
This issue should be addressed immediately due to a critical level of impact on the product.
loe:medium
Medium Level of Effort
project:embeddableRebuild
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
The Duplicate and Copy to Dashboard panel actions drop any references for React embeddables. The serialized state in React embeddables that reference other saved objects such as Links, Maps, and Visualize includes a
references
array, but only therawState
is passed to the Dashboard container input.The serializedState in the duplicateReactEmbeddableInput only passes the
rawState
to the explicit input. So duplicated panels will not see their references.Here's an example from the React map embeddable PR.
maps-duplicate.mp4
And here's an example from the React Links embeddable PR.
links-duplicate.mp4
This appears to also be a problem with the Copy to New Dashboard and Save as New Dashboard.
Image embeddable does not appear to be affected by this issue.
The text was updated successfully, but these errors were encountered: