-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line #247009
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
[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line #247009
Conversation
|
Pinging @elastic/response-ops (Team:ResponseOps) |
💚 Build Succeeded
Metrics [docs]Async chunks
|
|
Starting backport for target branches: 9.1, 9.2, 9.3 https://github.com/elastic/kibana/actions/runs/20370546223 |
… into account and wraps to a new line (elastic#247009) Closes elastic#108853 ## Summary The originally reported issue described the `Tags` combobox wrapping to a new line when when badges had long titles, instead of staying aligned next to the `Rule Name `input. This issue is no longer reproducible, but long tag values still cause the Tags input to expand and shrink the Rule Name field. This PR fixes the flexbox sizing issue by allowing items to shrink (min-width: 0), keeping both inputs aligned and equal width. (cherry picked from commit 18782fb)
… into account and wraps to a new line (elastic#247009) Closes elastic#108853 ## Summary The originally reported issue described the `Tags` combobox wrapping to a new line when when badges had long titles, instead of staying aligned next to the `Rule Name `input. This issue is no longer reproducible, but long tag values still cause the Tags input to expand and shrink the Rule Name field. This PR fixes the flexbox sizing issue by allowing items to shrink (min-width: 0), keeping both inputs aligned and equal width. (cherry picked from commit 18782fb)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
… into account and wraps to a new line (elastic#247009) Closes elastic#108853 ## Summary The originally reported issue described the `Tags` combobox wrapping to a new line when when badges had long titles, instead of staying aligned next to the `Rule Name `input. This issue is no longer reproducible, but long tag values still cause the Tags input to expand and shrink the Rule Name field. This PR fixes the flexbox sizing issue by allowing items to shrink (min-width: 0), keeping both inputs aligned and equal width. (cherry picked from commit 18782fb) # Conflicts: # src/platform/packages/shared/response-ops/rule_form/src/rule_details/rule_details.tsx
… sizes into account and wraps to a new line (#247009) (#247076) # Backport This will backport the following commits from `main` to `9.2`: - [[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)](#247009) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Georgiana-Andreea Onoleață","email":"georgiana.onoleata@elastic.co"},"sourceCommit":{"committedDate":"2025-12-19T12:50:24Z","message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","backport:version","v9.3.0","v9.4.0","v9.2.4","v9.1.10"],"title":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line","number":247009,"url":"https://github.com/elastic/kibana/pull/247009","mergeCommit":{"message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b"}},"sourceBranch":"main","suggestedTargetBranches":["9.3","9.2","9.1"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/247009","number":247009,"mergeCommit":{"message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b"}},{"branch":"9.2","label":"v9.2.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Georgiana-Andreea Onoleață <georgiana.onoleata@elastic.co>
… sizes into account and wraps to a new line (#247009) (#247077) # Backport This will backport the following commits from `main` to `9.3`: - [[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)](#247009) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Georgiana-Andreea Onoleață","email":"georgiana.onoleata@elastic.co"},"sourceCommit":{"committedDate":"2025-12-19T12:50:24Z","message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","backport:version","v9.3.0","v9.4.0","v9.2.4","v9.1.10"],"title":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line","number":247009,"url":"https://github.com/elastic/kibana/pull/247009","mergeCommit":{"message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b"}},"sourceBranch":"main","suggestedTargetBranches":["9.3","9.2","9.1"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/247009","number":247009,"mergeCommit":{"message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b"}},{"branch":"9.2","label":"v9.2.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Georgiana-Andreea Onoleață <georgiana.onoleata@elastic.co>
… sizes into account and wraps to a new line (#247009) (#247116) # Backport This will backport the following commits from `main` to `9.1`: - [[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)](#247009) <!--- Backport version: 10.2.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Georgiana-Andreea Onoleață","email":"georgiana.onoleata@elastic.co"},"sourceCommit":{"committedDate":"2025-12-19T12:50:24Z","message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","backport:version","v9.3.0","v9.4.0","v9.2.4","v9.1.10"],"title":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line","number":247009,"url":"https://github.com/elastic/kibana/pull/247009","mergeCommit":{"message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b"}},"sourceBranch":"main","suggestedTargetBranches":["9.1"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/247077","number":247077,"state":"OPEN"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/247009","number":247009,"mergeCommit":{"message":"[ResponseOps][Rules] Tags combobox container doesn't take badge sizes into account and wraps to a new line (#247009)\n\nCloses https://github.com/elastic/kibana/issues/108853\n\n## Summary\n\nThe originally reported issue described the `Tags` combobox wrapping to\na new line when when badges had long titles, instead of staying aligned\nnext to the `Rule Name `input.\nThis issue is no longer reproducible, but long tag values still cause\nthe Tags input to expand and shrink the Rule Name field.\nThis PR fixes the flexbox sizing issue by allowing items to shrink\n(min-width: 0), keeping both inputs aligned and equal width.","sha":"18782fbb51cffabc6242da1782cfc38c1a04080b"}},{"branch":"9.2","label":"v9.2.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/247076","number":247076,"state":"OPEN"},{"branch":"9.1","label":"v9.1.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
… into account and wraps to a new line (elastic#247009) Closes elastic#108853 ## Summary The originally reported issue described the `Tags` combobox wrapping to a new line when when badges had long titles, instead of staying aligned next to the `Rule Name `input. This issue is no longer reproducible, but long tag values still cause the Tags input to expand and shrink the Rule Name field. This PR fixes the flexbox sizing issue by allowing items to shrink (min-width: 0), keeping both inputs aligned and equal width.
Closes #108853
Summary
The originally reported issue described the
Tagscombobox wrapping to a new line when when badges had long titles, instead of staying aligned next to theRule Nameinput.This issue is no longer reproducible, but long tag values still cause the Tags input to expand and shrink the Rule Name field.
This PR fixes the flexbox sizing issue by allowing items to shrink (min-width: 0), keeping both inputs aligned and equal width.