[SLO] Provide initial size for the SLO Overview embeddable #170710
Labels
Feature:SLO
Team: Actionable Observability - DEPRECATED
For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge"
Team:obs-ux-management
Observability Management User Experience Team
v8.12.0
Slack thread
🍒 Summary
In this issue we implemented an SLO Overview embeddable. The panel takes the default width and height dimensions based on the dashboards grid system.
With this PR we now have the option to specify initial width and height of our panel by providing a
getPanelPlacementSettings
in the embeddable's factory.✅ Acceptance criteria
width: 8
andheight: 7
and looks good, so I'll start with these valuesImplementation details
We need to specify a
getPanelPlacementSettings
to the SLO Overview embeddableThe SloOverviewEmbeddableFactoryDefinition needs to implement the
IProvidesPanelPlacementSettings<SloEmbeddableInput>
as well.class SloOverviewEmbeddableFactoryDefinition implements EmbeddableFactoryDefinition, IProvidesPanelPlacementSettings<SloEmbeddableInput>
🗒️ Notes for the Reviewer
Already placed panels (Admin console availability SLO), still take the default dimensions. This change applies only to the newly added SLO Overview panels.
Verify that
width: 8, height: 7
works well with your existing SLO widgets. In any case user can resize the panel and bring it to the desired dimensions!The text was updated successfully, but these errors were encountered: