-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
fix(slo): Overview Embeddable drilldown actions #201870
Conversation
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
@kdelemme I did a quick code review and changes LGTM. I checked the visualize embeddable and the use of @Heenawter In your initial feedback you mentioned possible use of |
@mgiota I'm seeing that the visualize embeddable does use
kibana/src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx Lines 183 to 187 in 4bc9a59
Right now we are requiring |
@Heenawter yep you are right! I initially did a quick scan for Thanks for the super detailed explanation! Indeed making this an optional dependency would make it simpler to use. |
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.
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@elasticmachine merge upstream |
@@ -5,7 +5,7 @@ | |||
"@elastic/kibana-presentation" | |||
], | |||
"group": "platform", | |||
"visibility": "private", | |||
"visibility": "shared", |
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.
@elastic/kibana-presentation this PR opens up embeddableEnhanced
so that it is used directly from solutions (in this case from o11y SLOs).
Up until now, it was only used from "platform" plugins (e.g. visualizations, dashboard_enhanced, lens, maps).
Are you okay with that transition to "shared"?
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.
Yes this makes sense IMO. Solutions are expected to register embeddable types, and some of those will use drilldowns.
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.
Switching embeddable_enhanced
to "shared" LGTM 👍
@gsoldevila Can you approve please? |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
Async chunks
History
|
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.
LGTM!
Starting backport for target branches: 8.x |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 5b391b0)
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
1 similar comment
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
) # Backport This will backport the following commits from `main` to `8.x`: - [fix(slo): Overview Embeddable drilldown actions (#201870)](#201870) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-03T13:44:15Z","message":"fix(slo): Overview Embeddable drilldown actions (#201870)","sha":"5b391b0abe5158249ae83a393b3fdf8fdcba3c6b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.18.0"],"number":201870,"url":"https://github.com/elastic/kibana/pull/201870","mergeCommit":{"message":"fix(slo): Overview Embeddable drilldown actions (#201870)","sha":"5b391b0abe5158249ae83a393b3fdf8fdcba3c6b"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201870","number":201870,"mergeCommit":{"message":"fix(slo): Overview Embeddable drilldown actions (#201870)","sha":"5b391b0abe5158249ae83a393b3fdf8fdcba3c6b"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Shahzad <[email protected]>
Resolves #196740
🌸 Summary
This PR brings back the drilldown actions on the SLO Overview embeddable. I had to change the
visibility
of the embeddable-enhanced plugin to be able to use it from the slo plugin since these plugins don't share the samegroup
.In a following PR, I'll address the other embeddable components.
🧬 Testing