Commit f4b3dea
[9.1] Fix: Add styling to handle the text overflow (elastic#239768) (elastic#240084)
# Backport
This will backport the following commits from `main` to `9.1`:
- [Fix: Add styling to handle the text overflow
(elastic#239768)](elastic#239768)
<!--- Backport version: 10.1.0 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Efe Gürkan
YALAMAN","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-10-22T10:51:19Z","message":"Fix:
Add styling to handle the text overflow (elastic#239768)\n\n## Summary\n\nThis
fixes a case where having too long id not wrapping and overflowing\nthe
popout by truncating the text and adding a copy button with tooltip\nto
show whole ID.\n\nBefore\n<img width=\"3192\" height=\"954\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/84eb8772-a4ab-4310-b6f3-c1973b91948d\"\n/>\n\nAfter\n<img
width=\"341\" height=\"218\" alt=\"Screenshot 2025-10-16 at 20 15
19\"\nsrc=\"https://github.com/user-attachments/assets/b1dad5d6-3123-4710-baf6-3c362cfa2580\"\n/>\n<img
width=\"367\" height=\"234\" alt=\"Screenshot 2025-10-16 at 20 15
23\"\nsrc=\"https://github.com/user-attachments/assets/44606124-57b1-4a86-8071-89bca85860b9\"\n/>\n\n\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials~\n- [ ] [Unit
or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] ~If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~\n-
[ ] ~This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.~\n- [ ] ~[Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed~\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n\n## Release Note:\nFixed data
preview metadata popup visual issues when ID is too long.\nAdded a
tooltip and copy button to improve user experience.\n\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"32972ca0ca2409a6b1c0a1dd7c0a499dbfae9401","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Search","backport:version","v9.2.0","v9.3.0","v9.1.6","v8.19.6"],"title":"Fix:
Add styling to handle the text
overflow","number":239768,"url":"https://github.com/elastic/kibana/pull/239768","mergeCommit":{"message":"Fix:
Add styling to handle the text overflow (elastic#239768)\n\n## Summary\n\nThis
fixes a case where having too long id not wrapping and overflowing\nthe
popout by truncating the text and adding a copy button with tooltip\nto
show whole ID.\n\nBefore\n<img width=\"3192\" height=\"954\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/84eb8772-a4ab-4310-b6f3-c1973b91948d\"\n/>\n\nAfter\n<img
width=\"341\" height=\"218\" alt=\"Screenshot 2025-10-16 at 20 15
19\"\nsrc=\"https://github.com/user-attachments/assets/b1dad5d6-3123-4710-baf6-3c362cfa2580\"\n/>\n<img
width=\"367\" height=\"234\" alt=\"Screenshot 2025-10-16 at 20 15
23\"\nsrc=\"https://github.com/user-attachments/assets/44606124-57b1-4a86-8071-89bca85860b9\"\n/>\n\n\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials~\n- [ ] [Unit
or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] ~If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~\n-
[ ] ~This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.~\n- [ ] ~[Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed~\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n\n## Release Note:\nFixed data
preview metadata popup visual issues when ID is too long.\nAdded a
tooltip and copy button to improve user experience.\n\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"32972ca0ca2409a6b1c0a1dd7c0a499dbfae9401"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/240058","number":240058,"state":"OPEN"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/239768","number":239768,"mergeCommit":{"message":"Fix:
Add styling to handle the text overflow (elastic#239768)\n\n## Summary\n\nThis
fixes a case where having too long id not wrapping and overflowing\nthe
popout by truncating the text and adding a copy button with tooltip\nto
show whole ID.\n\nBefore\n<img width=\"3192\" height=\"954\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/84eb8772-a4ab-4310-b6f3-c1973b91948d\"\n/>\n\nAfter\n<img
width=\"341\" height=\"218\" alt=\"Screenshot 2025-10-16 at 20 15
19\"\nsrc=\"https://github.com/user-attachments/assets/b1dad5d6-3123-4710-baf6-3c362cfa2580\"\n/>\n<img
width=\"367\" height=\"234\" alt=\"Screenshot 2025-10-16 at 20 15
23\"\nsrc=\"https://github.com/user-attachments/assets/44606124-57b1-4a86-8071-89bca85860b9\"\n/>\n\n\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials~\n- [ ] [Unit
or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] ~If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~\n-
[ ] ~This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.~\n- [ ] ~[Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed~\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n\n## Release Note:\nFixed data
preview metadata popup visual issues when ID is too long.\nAdded a
tooltip and copy button to improve user experience.\n\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"32972ca0ca2409a6b1c0a1dd7c0a499dbfae9401"}},{"branch":"9.1","label":"v9.1.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
---------
Co-authored-by: Elastic Machine <[email protected]>1 parent 2001630 commit f4b3dea
File tree
2 files changed
+70
-3
lines changed2 files changed
+70
-3
lines changedLines changed: 56 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
58 | 110 | | |
59 | 111 | | |
60 | 112 | | |
| |||
102 | 154 | | |
103 | 155 | | |
104 | 156 | | |
105 | | - | |
| 157 | + | |
106 | 158 | | |
107 | 159 | | |
| 160 | + | |
108 | 161 | | |
109 | 162 | | |
110 | 163 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments