-
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][Detections] Fix "Severity override" dropdowns in "Create new rule" -> "About rule" #82271
[Security Solution][Detections] Fix "Severity override" dropdowns in "Create new rule" -> "About rule" #82271
Conversation
💚 Build SucceededMetrics [docs]async chunks size
History
To update your PR or re-run it, 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.
Pulled down the branch and played with the UI. It looks good. I like the UX improvement around field suggestions. Now there is more room and users are actually able to see what they're selecting. Thanks Georgii!
…"Create new rule" -> "About rule" (elastic#82271) We use `EuiComboBox` in all "Severity override" dropdowns (which are called `FieldComponent` and `AutocompleteFieldMatchComponent`). The issue with `EuiComboBox` is that it doesn't handle long text in the placeholder properly. In the elastic#81284 you can see the placeholders' text being split into multiple lines that gives this messy effect.
…"Create new rule" -> "About rule" (#82271) (#82427) We use `EuiComboBox` in all "Severity override" dropdowns (which are called `FieldComponent` and `AutocompleteFieldMatchComponent`). The issue with `EuiComboBox` is that it doesn't handle long text in the placeholder properly. In the #81284 you can see the placeholders' text being split into multiple lines that gives this messy effect. Co-authored-by: Kibana Machine <[email protected]>
…"Create new rule" -> "About rule" (elastic#82271) We use `EuiComboBox` in all "Severity override" dropdowns (which are called `FieldComponent` and `AutocompleteFieldMatchComponent`). The issue with `EuiComboBox` is that it doesn't handle long text in the placeholder properly. In the elastic#81284 you can see the placeholders' text being split into multiple lines that gives this messy effect.
…"Create new rule" -> "About rule" (#82271) (#83272) We use `EuiComboBox` in all "Severity override" dropdowns (which are called `FieldComponent` and `AutocompleteFieldMatchComponent`). The issue with `EuiComboBox` is that it doesn't handle long text in the placeholder properly. In the #81284 you can see the placeholders' text being split into multiple lines that gives this messy effect.
Addresses: #81284
Related PR: elastic/eui#4210
Summary
We use
EuiComboBox
in all "Severity override" dropdowns (which are calledFieldComponent
andAutocompleteFieldMatchComponent
). The issue withEuiComboBox
is that it doesn't handle long text in the placeholder properly. In the #81284 you can see the placeholders' text being split into multiple lines that gives this messy effect.TODO:
Before
After
Default:
Both overrides checked:
Small screen width:
Now it's enough space to show the whole field name in most cases:
Checklist
Delete any items that are not applicable to this PR.
For maintainers