-
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): Add missing new context providers around burn rate editor #201199
Conversation
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
ruleParamsExpression: lazyWithContextProviders( | ||
lazy(() => import('../components/burn_rate_rule_editor')) | ||
), |
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.
💬 Same as alertDetailsAppSection
below
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
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.
The creation form loads correctly now.
Starting backport for target branches: 8.17, 8.x |
…lastic#201199) (cherry picked from commit 324ecc2)
…lastic#201199) (cherry picked from commit 324ecc2)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…itor (#201199) (#201233) # Backport This will backport the following commits from `main` to `8.x`: - [fix(slo): Add missing new context providers around burn rate editor (#201199)](#201199) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T16:12:10Z","message":"fix(slo): Add missing new context providers around burn rate editor (#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.17.0"],"title":"fix(slo): Add missing new context providers around burn rate editor","number":201199,"url":"https://github.com/elastic/kibana/pull/201199","mergeCommit":{"message":"fix(slo): Add missing new context providers around burn rate editor (#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201199","number":201199,"mergeCommit":{"message":"fix(slo): Add missing new context providers around burn rate editor (#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Kevin Delemme <[email protected]>
…ditor (#201199) (#201232) # Backport This will backport the following commits from `main` to `8.17`: - [fix(slo): Add missing new context providers around burn rate editor (#201199)](#201199) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T16:12:10Z","message":"fix(slo): Add missing new context providers around burn rate editor (#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.17.0"],"title":"fix(slo): Add missing new context providers around burn rate editor","number":201199,"url":"https://github.com/elastic/kibana/pull/201199","mergeCommit":{"message":"fix(slo): Add missing new context providers around burn rate editor (#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201199","number":201199,"mergeCommit":{"message":"fix(slo): Add missing new context providers around burn rate editor (#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Kevin Delemme <[email protected]>
Related to #198683
🍒 Summary
This PR addresses an issue with the burn rate editor registration. We forgot to wrap this component with the new context providers introduced while migrating to the new router.
This was making the editor fails when opened from outside the SLO page.
🧬 Testing
Make sure you can create/edit an SLO burn rate rule from the
Observability > Rules
page