-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[Embeddables] Fix missing panel references when Duplicate, Copy to Dashboard, or Save as new dashboard #183778
[Embeddables] Fix missing panel references when Duplicate, Copy to Dashboard, or Save as new dashboard #183778
Conversation
This allows the diffing integration to update the state in the session before we load and initialize the new dashboard.
/ci |
/ci |
/ci |
/ci |
Pinging @elastic/kibana-presentation (Team:Presentation) |
/ci |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM!
Tested cloning, copy to dashboard, and duplicating Dashboards, checking the references each time in the saved object management page. code changes look well targeted also. Nice work!
While testing this I did notice an infinite load bug in the field list embeddable when a Dashboard has field lists with two different data views, but was able to confirm that this happens in main also.
Thanks for making the change regarding using serialized state rather than runtime state for these operations.
Fixes #183551
Summary
Fixes missing references on React embeddables when Duplicate, Copy to Dashboard, or Save as new dashboard.
To test this:
yarn start --run-examples
.