-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Security Solution] remove isDraggable props + various related …
…cleanups (#207959) (#210116) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] remove isDraggable props + various related cleanups (#207959)](#207959) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-02-06T21:56:09Z","message":"[Security Solution] remove isDraggable props + various related cleanups (#207959)\n\n## Summary\r\n\r\nThis PR removes the `isDraggable` prop throughout Security Solution.\r\nUnless I'm mistaken, this property isn't necessary anymore, as we do not\r\nuse those draggable elements anymore. From what I could see, we had its\r\nvalue set to `false` everywhere.\r\n\r\nThis lead to a lot of files impacted, but most of them have only a\r\ncouple of lines changed. In some files though, removing the\r\n`isDraggable` prop allowed to remove more code than became obsolete.\r\n\r\n**No UI changes should have been introduced in this PR!**\r\n\r\n### What this PR does\r\n\r\n- removes `isDraggable` everywhere\r\n- performs the extra small cleanup when obvious\r\n- updates all corresponding unit e2e and tests\r\n\r\n### What this PR does\r\n\r\n- rename files or component names to limit the already extensive impact\r\nof the code change","sha":"ebb31d249f5d940fac6188230c03b8435ddb26ca","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat Hunting:Investigations","backport:version","v9.1.0","v8.19.0"],"title":"[Security Solution] remove isDraggable props + various related cleanups","number":207959,"url":"https://github.com/elastic/kibana/pull/207959","mergeCommit":{"message":"[Security Solution] remove isDraggable props + various related cleanups (#207959)\n\n## Summary\r\n\r\nThis PR removes the `isDraggable` prop throughout Security Solution.\r\nUnless I'm mistaken, this property isn't necessary anymore, as we do not\r\nuse those draggable elements anymore. From what I could see, we had its\r\nvalue set to `false` everywhere.\r\n\r\nThis lead to a lot of files impacted, but most of them have only a\r\ncouple of lines changed. In some files though, removing the\r\n`isDraggable` prop allowed to remove more code than became obsolete.\r\n\r\n**No UI changes should have been introduced in this PR!**\r\n\r\n### What this PR does\r\n\r\n- removes `isDraggable` everywhere\r\n- performs the extra small cleanup when obvious\r\n- updates all corresponding unit e2e and tests\r\n\r\n### What this PR does\r\n\r\n- rename files or component names to limit the already extensive impact\r\nof the code change","sha":"ebb31d249f5d940fac6188230c03b8435ddb26ca"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207959","number":207959,"mergeCommit":{"message":"[Security Solution] remove isDraggable props + various related cleanups (#207959)\n\n## Summary\r\n\r\nThis PR removes the `isDraggable` prop throughout Security Solution.\r\nUnless I'm mistaken, this property isn't necessary anymore, as we do not\r\nuse those draggable elements anymore. From what I could see, we had its\r\nvalue set to `false` everywhere.\r\n\r\nThis lead to a lot of files impacted, but most of them have only a\r\ncouple of lines changed. In some files though, removing the\r\n`isDraggable` prop allowed to remove more code than became obsolete.\r\n\r\n**No UI changes should have been introduced in this PR!**\r\n\r\n### What this PR does\r\n\r\n- removes `isDraggable` everywhere\r\n- performs the extra small cleanup when obvious\r\n- updates all corresponding unit e2e and tests\r\n\r\n### What this PR does\r\n\r\n- rename files or component names to limit the already extensive impact\r\nof the code change","sha":"ebb31d249f5d940fac6188230c03b8435ddb26ca"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
- Loading branch information
1 parent
9bb20df
commit 8c14955
Showing
211 changed files
with
1,998 additions
and
6,692 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...tion/public/common/components/drag_and_drop/__snapshots__/draggable_wrapper.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...ty/plugins/security_solution/public/common/components/drag_and_drop/drag_drop_context.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.