-
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
[Cases] Filter Overflow When To Much Filters Active #172860
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
x-pack/plugins/cases/public/components/all_cases/multi_select_filter.tsx
Outdated
Show resolved
Hide resolved
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.
LGMT! Tested and is working as expected. Blocking to avoid accidentally merging code with dangerouslySetInnerHTML
.
x-pack/plugins/cases/public/components/all_cases/multi_select_filter.tsx
Outdated
Show resolved
Hide resolved
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.
Tested and works as expected. Really like how it looks 👌
nullOptionLabel: i18n.NO_ASSIGNEES, | ||
}} | ||
/> | ||
<EuiFilterGroup> |
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.
I need to include this because, without it, the selectable styling breaks. It means that we are wrapping every single selectable in a filter group (a one filter only filter group) which might not be ideal semantically
💚 Build Succeeded
Metrics [docs]Async chunks
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.
LGTM! I also really like how it looks like.
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.
looks awesome 🎉
Closes elastic#172855 ![Screenshot](https://github.com/elastic/kibana/assets/17549662/19537708-5fda-4773-a85c-f21344cab4cc) (cherry picked from commit f7b0e49)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…173045) # Backport This will backport the following commits from `main` to `8.12`: - [[Cases] Filter Overflow When To Much Filters Active (#172860)](#172860) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julian Gernun","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-11T12:33:34Z","message":"[Cases] Filter Overflow When To Much Filters Active (#172860)\n\nCloses https://github.com/elastic/kibana/issues/172855\r\n\r\n\r\n![Screenshot](https://github.com/elastic/kibana/assets/17549662/19537708-5fda-4773-a85c-f21344cab4cc)","sha":"f7b0e49e2f81cf4e995f6877731281db01566909","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","Feature:Cases","v8.12.0","v8.13.0"],"number":172860,"url":"https://github.com/elastic/kibana/pull/172860","mergeCommit":{"message":"[Cases] Filter Overflow When To Much Filters Active (#172860)\n\nCloses https://github.com/elastic/kibana/issues/172855\r\n\r\n\r\n![Screenshot](https://github.com/elastic/kibana/assets/17549662/19537708-5fda-4773-a85c-f21344cab4cc)","sha":"f7b0e49e2f81cf4e995f6877731281db01566909"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172860","number":172860,"mergeCommit":{"message":"[Cases] Filter Overflow When To Much Filters Active (#172860)\n\nCloses https://github.com/elastic/kibana/issues/172855\r\n\r\n\r\n![Screenshot](https://github.com/elastic/kibana/assets/17549662/19537708-5fda-4773-a85c-f21344cab4cc)","sha":"f7b0e49e2f81cf4e995f6877731281db01566909"}}]}] BACKPORT--> Co-authored-by: Julian Gernun <[email protected]>
Closes #172855