-
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
[Security Solution] Default Risk score slide bar values are overlaid on Rule Creation page (#161456) #172677
[Security Solution] Default Risk score slide bar values are overlaid on Rule Creation page (#161456) #172677
Conversation
…on Rule Creation page (elastic#161456)
Pinging @elastic/security-solution (Team: SecuritySolution) |
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.
Thanks for the fix Zhenia! Tested locally - the bug does not reproduce. Approved.
I wonder what would be the best way to track the status of the EUI issue, so that we can remove the workaround once it's fixed on their end?
...ck/plugins/security_solution/public/detections/components/rules/risk_score_mapping/index.tsx
Outdated
Show resolved
Hide resolved
...ck/plugins/security_solution/public/detections/components/rules/risk_score_mapping/index.tsx
Outdated
Show resolved
Hide resolved
…rules/risk_score_mapping/index.tsx Typo
We will have to monitor the status of that ticket to do that. I am part of the notification list there, so as soon as I see some progress and fix for ti I will remove this workaround in our codebase. |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @e40pud |
…on Rule Creation page (elastic#161456) (elastic#172677) ## Summary Addresses elastic#161456 These changes do workaround to display EuiRange component which is broken due to memoization (see more details in elastic#160561 and elastic/eui#6846) The fix is to forcibly remove/add EuiRange component on About step activation. Before the fix: <img width="435" alt="Screenshot 2023-07-12 at 19 06 01" src="https://github.com/elastic/kibana/assets/2700761/8deeb59a-712e-4990-9bda-cba31da8f23f"> After the fix: <img width="426" alt="Screenshot 2023-07-12 at 19 05 46" src="https://github.com/elastic/kibana/assets/2700761/7556cca0-d78b-453a-ac47-8a2cd3ef73d7"> (cherry picked from commit 28d18e8)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…erlaid on Rule Creation page (#161456) (#172677) (#173140) # Backport This will backport the following commits from `main` to `8.12`: - [[Security Solution] Default Risk score slide bar values are overlaid on Rule Creation page (#161456) (#172677)](#172677) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ievgen Sorokopud","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-12T10:29:50Z","message":"[Security Solution] Default Risk score slide bar values are overlaid on Rule Creation page (#161456) (#172677)\n\n## Summary\r\n\r\nAddresses https://github.com/elastic/kibana/issues/161456\r\n\r\nThese changes do workaround to display EuiRange component which is\r\nbroken due to memoization (see more details in\r\nhttps://github.com//issues/160561 and\r\nhttps://github.com/elastic/eui/issues/6846)\r\n\r\nThe fix is to forcibly remove/add EuiRange component on About step\r\nactivation.\r\n\r\nBefore the fix:\r\n\r\n<img width=\"435\" alt=\"Screenshot 2023-07-12 at 19 06 01\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2700761/8deeb59a-712e-4990-9bda-cba31da8f23f\">\r\n\r\nAfter the fix:\r\n\r\n<img width=\"426\" alt=\"Screenshot 2023-07-12 at 19 05 46\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2700761/7556cca0-d78b-453a-ac47-8a2cd3ef73d7\">","sha":"28d18e89fba53cc1ca5d46bd0b5d0964d0a7c75a","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team: SecuritySolution","backport:prev-minor","Team:Detection Engine","v8.13.0"],"number":172677,"url":"https://github.com/elastic/kibana/pull/172677","mergeCommit":{"message":"[Security Solution] Default Risk score slide bar values are overlaid on Rule Creation page (#161456) (#172677)\n\n## Summary\r\n\r\nAddresses https://github.com/elastic/kibana/issues/161456\r\n\r\nThese changes do workaround to display EuiRange component which is\r\nbroken due to memoization (see more details in\r\nhttps://github.com//issues/160561 and\r\nhttps://github.com/elastic/eui/issues/6846)\r\n\r\nThe fix is to forcibly remove/add EuiRange component on About step\r\nactivation.\r\n\r\nBefore the fix:\r\n\r\n<img width=\"435\" alt=\"Screenshot 2023-07-12 at 19 06 01\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2700761/8deeb59a-712e-4990-9bda-cba31da8f23f\">\r\n\r\nAfter the fix:\r\n\r\n<img width=\"426\" alt=\"Screenshot 2023-07-12 at 19 05 46\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2700761/7556cca0-d78b-453a-ac47-8a2cd3ef73d7\">","sha":"28d18e89fba53cc1ca5d46bd0b5d0964d0a7c75a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172677","number":172677,"mergeCommit":{"message":"[Security Solution] Default Risk score slide bar values are overlaid on Rule Creation page (#161456) (#172677)\n\n## Summary\r\n\r\nAddresses https://github.com/elastic/kibana/issues/161456\r\n\r\nThese changes do workaround to display EuiRange component which is\r\nbroken due to memoization (see more details in\r\nhttps://github.com//issues/160561 and\r\nhttps://github.com/elastic/eui/issues/6846)\r\n\r\nThe fix is to forcibly remove/add EuiRange component on About step\r\nactivation.\r\n\r\nBefore the fix:\r\n\r\n<img width=\"435\" alt=\"Screenshot 2023-07-12 at 19 06 01\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2700761/8deeb59a-712e-4990-9bda-cba31da8f23f\">\r\n\r\nAfter the fix:\r\n\r\n<img width=\"426\" alt=\"Screenshot 2023-07-12 at 19 05 46\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2700761/7556cca0-d78b-453a-ac47-8a2cd3ef73d7\">","sha":"28d18e89fba53cc1ca5d46bd0b5d0964d0a7c75a"}}]}] BACKPORT--> Co-authored-by: Ievgen Sorokopud <[email protected]>
Summary
Addresses #161456
These changes do workaround to display EuiRange component which is broken due to memoization (see more details in #160561 and elastic/eui#6846)
The fix is to forcibly remove/add EuiRange component on About step activation.
Before the fix:
After the fix: