Skip to content

[Embeddable] SLO Alerts embeddable to serialized state only#218349

Merged
nickpeihl merged 8 commits intoelastic:embeddable-serialized-statefrom
nickpeihl:slo-alerts-sso2
Apr 16, 2025
Merged

[Embeddable] SLO Alerts embeddable to serialized state only#218349
nickpeihl merged 8 commits intoelastic:embeddable-serialized-statefrom
nickpeihl:slo-alerts-sso2

Conversation

@nickpeihl
Copy link
Contributor

@nickpeihl nickpeihl commented Apr 15, 2025

This PR does not need to be reviewed by external teams. This PR merges into a feature branch that Kibana presentation team is working on to convert the embeddable framework to only expose serialized state. Your team will be pinged for review once the work is complete and the final PR opens that merges the feature branch into main.

Summary

Converts the SLO alerts embeddable to serialized state only.

Testing this PR

Create an SLO using the "How to Test" section in the description of this PR.

@nickpeihl nickpeihl requested a review from a team as a code owner April 15, 2025 20:48
@botelastic botelastic bot added the Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. label Apr 15, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

...titleManager.api,
...unsavedChangesApi,
defaultTitle$,
hideTitle$: titleManager.api.hidePanelTitles$,
Copy link
Contributor

@nreese nreese Apr 16, 2025

Choose a reason for hiding this comment

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

Why are hideTitle$ and setHideTitle added to the api? Title apis should be provided by ...titleManager.api,

Copy link
Contributor

Choose a reason for hiding this comment

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

You should not longer need these. #218369 has resolved the issue and now provides hideTitle$ and setHideTitle in the titleManager.api

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Awesome! Thanks for updating the titleManager.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why all these changes to the Lens embeddable too? Are they related to the SLO Alerts ones?

Copy link
Contributor

Choose a reason for hiding this comment

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

We are working on a feature branch to convert all embeddables to serialized state only. Lens has been converted but there are some eslinting errors in the branch. This PR is resolving those. Please ignore review requests on the branch. Once we get all embeddables converted and can get green CI, then we will open a PR for review. This will be in about 2 or 3 weeks time

@nickpeihl nickpeihl marked this pull request as draft April 16, 2025 13:43
nickpeihl and others added 2 commits April 16, 2025 10:03
_This PR does not need to be reviewed by external teams. This PR merges
into a feature branch that Kibana presentation team is working on to
convert the embeddable framework to only expose serialized state. Your
team will be pinged for review once the work is complete and the final
PR opens that merges the feature branch into main._

Updates the Field list example embeddable to serialized state only.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@nickpeihl nickpeihl marked this pull request as ready for review April 16, 2025 14:07
@nickpeihl nickpeihl merged commit 95c3453 into elastic:embeddable-serialized-state Apr 16, 2025
5 of 7 checks passed
@elasticmachine
Copy link
Contributor

elasticmachine commented Apr 16, 2025

💔 Build Failed

Failed CI Steps

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants