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

Clean up saved object based embeddable examples #162987

Merged

Conversation

Dosant
Copy link
Contributor

@Dosant Dosant commented Aug 2, 2023

Summary

These examples are outdated and don't show recent embeddable best practices. They also use client-side saved object client and block making SavedObjectFinder backward compatible #162904 as the foobar saved objects need to be added to content management. We decided that it is better to clean them up, as fixing them is not a small effort and it is not worth it on this point as a large embeddable refactor is coming.

@Dosant Dosant changed the title clean up embeddable examples Clean up saved object based embeddable examples Aug 2, 2023
@Dosant Dosant added release_note:skip Skip the PR/issue when compiling release notes chore labels Aug 2, 2023
@Dosant Dosant marked this pull request as ready for review August 2, 2023 16:33
@Dosant Dosant requested a review from a team as a code owner August 2, 2023 16:33
@Dosant Dosant requested a review from ThomThomson August 2, 2023 16:33
@Dosant Dosant added the Feature:Embeddables Relating to the Embeddable system label Aug 2, 2023
Copy link
Contributor

@ThomThomson ThomThomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removal of these examples looks good to me! This will help in our Embeddables DX project as these examples would have had to be removed there anyway.

Looked through the removals and tested locally by ensuring the remaining examples still work properly. Thanks for this!

@Dosant
Copy link
Contributor Author

Dosant commented Aug 3, 2023

@elasticmachine merge upstream

@Dosant Dosant enabled auto-merge (squash) August 3, 2023 09:12
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@Dosant Dosant merged commit 65fd7ad into elastic:main Aug 3, 2023
@kibanamachine kibanamachine added v8.10.0 backport:skip This commit does not require backporting labels Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting chore Feature:Embeddables Relating to the Embeddable system release_note:skip Skip the PR/issue when compiling release notes v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants