Conversation
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
3fb08ef to
8b6cb83
Compare
| setAction: (action: Action) => void; | ||
| }) { | ||
| return ( | ||
| <EuiButtonEmpty |
There was a problem hiding this comment.
This was a bit hard to find
8b6cb83 to
9772fba
Compare
|
@baileycash-elastic I've updated the PR to refactor the modals management using a context. And change the various places we used to manage modals to use it. |
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
27e1ef9 to
8b2f55e
Compare
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
History
|
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/14781377169 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…ends-crash * main: (111 commits) [ResponseOps][Rules] Cases action title length too long (elastic#219226) [main] Sync bundled packages with Package Storage (elastic#219839) Fix ignored dynamic templates (elastic#219875) Enforce dependency review by kibana-security workflow (elastic#219262) [Security Solution] [Detections] Removes tech preview text from eql seq suppression ui (elastic#219870) [Security Solution] Fix alerts table potentially not applying alert assignees (elastic#219460) fix(slo): alert deletion (elastic#219876) [AI4DSOC] fix styling to address cutoff when screen is narrow (elastic#219306) [Security Solution][Endpoint] Response action create and history log API updates in of space awareness (elastic#218674) Update publish_oas_docs.sh to deploy Kibana Serverless API docs (elastic#219867) feat(slo): lock resource installation (elastic#219747) [AI4DSOC] Alert flyout code cleanup (elastic#219810) [fleet] fixing `isAgentlessDefault` config usage and readability improvements to `isAgentlessSetupDefault` (elastic#219423) feat(slo): Bulk delete UI (elastic#219634) m1 demo prep (elastic#219588) [Security Solution] Replace sourcerer in EQL tab with dataview picker (elastic#218897) [AI4DSOC] Attack discovery widget follow up follow up (elastic#219849) [AI Assistant] Fix some OpenAI models not accepting temperature for Inference service (elastic#218887) Update dependency msw to ~2.7.5 (main) (elastic#219289) Use new client URLs in doc link service (elastic#219600) ...
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
(cherry picked from commit 5cafb9c) # Conflicts: # x-pack/solutions/observability/plugins/slo/public/pages/slo_management/components/slo_management_content.tsx # x-pack/solutions/observability/plugins/slo/public/pages/slo_management/components/slo_management_outdated_filter_callout.tsx # x-pack/solutions/observability/plugins/slo/public/pages/slo_management/components/slo_management_search_bar.tsx # x-pack/solutions/observability/plugins/slo/public/pages/slo_management/components/slo_management_table.tsx # x-pack/solutions/observability/plugins/slo/public/pages/slo_management/hooks/use_url_search_state.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
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. |
(cherry picked from commit 5cafb9c)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.19`: - [feat(slo): Bulk delete UI (#219634)](#219634) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"kevin.delemme@elastic.co"},"sourceCommit":{"committedDate":"2025-05-01T18:49:44Z","message":"feat(slo): Bulk delete UI (#219634)","sha":"5cafb9c2bfe1b522aaab380c6f82bd8b6c81ca0f","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0"],"title":"feat(slo): Bulk delete UI","number":219634,"url":"https://github.com/elastic/kibana/pull/219634","mergeCommit":{"message":"feat(slo): Bulk delete UI (#219634)","sha":"5cafb9c2bfe1b522aaab380c6f82bd8b6c81ca0f"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219634","number":219634,"mergeCommit":{"message":"feat(slo): Bulk delete UI (#219634)","sha":"5cafb9c2bfe1b522aaab380c6f82bd8b6c81ca0f"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
🍒 Summary
This PR adds a bulk delete button on the SLO management page when the user selects one or more SLOs.
When bulk deleting some SLOs, we store a task in a BulkOperationContext and we keep polling every operation tasks until they are completed.
We currently don't show much information about pending tasks being polled, but we could easily build something around it. One other idea I had was to store the tasks in the local storage, so upon refresh we would still be able to continue the polling and show the status to the user.
Refactoring
This PR also refactors the various SLO actions we can do in different places: dashboards, listing page (all views), details page.
Instead of duplicating the management of the modals everywhere, we abstracted this logic in a context provider.
Testing
Main feature: bulk delete
Delete {count} SLOsbuttonRefactoring
Make sure it's still possible to do the following actions in all views of the list page, and the details page and the various dashboard embeddables: