Fix: Add styling to handle the text overflow#239768
Conversation
This fixes a case where having too long id not wrapping and overflowing the popout by truncating the text and adding a copy button with tooltip to show whole ID.
|
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI Steps
Test Failures
Metrics [docs]Async chunks
History
|
wildemat
left a comment
There was a problem hiding this comment.
LGTM!
reminds me a bit of FormInfoField in search solution. Maybe we could port that to be shared in platform package sometime
|
Starting backport for target branches: 8.19, 9.1, 9.2 |
## Summary This fixes a case where having too long id not wrapping and overflowing the popout by truncating the text and adding a copy button with tooltip to show whole ID. Before <img width="3192" height="954" alt="image" src="https://github.com/user-attachments/assets/84eb8772-a4ab-4310-b6f3-c1973b91948d" /> After <img width="341" height="218" alt="Screenshot 2025-10-16 at 20 15 19" src="https://github.com/user-attachments/assets/b1dad5d6-3123-4710-baf6-3c362cfa2580" /> <img width="367" height="234" alt="Screenshot 2025-10-16 at 20 15 23" src="https://github.com/user-attachments/assets/44606124-57b1-4a86-8071-89bca85860b9" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] ~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials~ - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] ~If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~ - [ ] ~This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - [ ] ~[Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. ## Release Note: Fixed data preview metadata popup visual issues when ID is too long. Added a tooltip and copy button to improve user experience. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 32972ca)
💔 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 |
## Summary This fixes a case where having too long id not wrapping and overflowing the popout by truncating the text and adding a copy button with tooltip to show whole ID. Before <img width="3192" height="954" alt="image" src="https://github.com/user-attachments/assets/84eb8772-a4ab-4310-b6f3-c1973b91948d" /> After <img width="341" height="218" alt="Screenshot 2025-10-16 at 20 15 19" src="https://github.com/user-attachments/assets/b1dad5d6-3123-4710-baf6-3c362cfa2580" /> <img width="367" height="234" alt="Screenshot 2025-10-16 at 20 15 23" src="https://github.com/user-attachments/assets/44606124-57b1-4a86-8071-89bca85860b9" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] ~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials~ - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] ~If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~ - [ ] ~This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - [ ] ~[Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. ## Release Note: Fixed data preview metadata popup visual issues when ID is too long. Added a tooltip and copy button to improve user experience. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 32972ca) # Conflicts: # x-pack/platform/packages/shared/kbn-search-index-documents/components/result/rich_result_header.tsx # x-pack/platform/packages/shared/kbn-search-index-documents/components/result/styles.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary This fixes a case where having too long id not wrapping and overflowing the popout by truncating the text and adding a copy button with tooltip to show whole ID. Before <img width="3192" height="954" alt="image" src="https://github.com/user-attachments/assets/84eb8772-a4ab-4310-b6f3-c1973b91948d" /> After <img width="341" height="218" alt="Screenshot 2025-10-16 at 20 15 19" src="https://github.com/user-attachments/assets/b1dad5d6-3123-4710-baf6-3c362cfa2580" /> <img width="367" height="234" alt="Screenshot 2025-10-16 at 20 15 23" src="https://github.com/user-attachments/assets/44606124-57b1-4a86-8071-89bca85860b9" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] ~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials~ - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] ~If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~ - [ ] ~This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - [ ] ~[Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. ## Release Note: Fixed data preview metadata popup visual issues when ID is too long. Added a tooltip and copy button to improve user experience. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 32972ca) # Conflicts: # x-pack/platform/packages/shared/kbn-search-index-documents/components/result/styles.ts # x-pack/solutions/search/packages/kbn-search-index-documents/components/result/rich_result_header.tsx
# Backport This will backport the following commits from `main` to `9.2`: - [Fix: Add styling to handle the text overflow (#239768)](#239768) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Efe Gürkan YALAMAN","email":"efeguerkan.yalaman@elastic.co"},"sourceCommit":{"committedDate":"2025-10-22T10:51:19Z","message":"Fix: Add styling to handle the text overflow (#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 <elasticmachine@users.noreply.github.com>","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 (#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 <elasticmachine@users.noreply.github.com>","sha":"32972ca0ca2409a6b1c0a1dd7c0a499dbfae9401"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"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 (#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 <elasticmachine@users.noreply.github.com>","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: Efe Gürkan YALAMAN <efeguerkan.yalaman@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
## Summary This fixes a case where having too long id not wrapping and overflowing the popout by truncating the text and adding a copy button with tooltip to show whole ID. Before <img width="3192" height="954" alt="image" src="https://github.com/user-attachments/assets/84eb8772-a4ab-4310-b6f3-c1973b91948d" /> After <img width="341" height="218" alt="Screenshot 2025-10-16 at 20 15 19" src="https://github.com/user-attachments/assets/b1dad5d6-3123-4710-baf6-3c362cfa2580" /> <img width="367" height="234" alt="Screenshot 2025-10-16 at 20 15 23" src="https://github.com/user-attachments/assets/44606124-57b1-4a86-8071-89bca85860b9" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] ~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials~ - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] ~If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~ - [ ] ~This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - [ ] ~[Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. ## Release Note: Fixed data preview metadata popup visual issues when ID is too long. Added a tooltip and copy button to improve user experience. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Backport This will backport the following commits from `main` to `9.1`: - [Fix: Add styling to handle the text overflow (#239768)](#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":"efeguerkan.yalaman@elastic.co"},"sourceCommit":{"committedDate":"2025-10-22T10:51:19Z","message":"Fix: Add styling to handle the text overflow (#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 <elasticmachine@users.noreply.github.com>","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 (#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 <elasticmachine@users.noreply.github.com>","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 (#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 <elasticmachine@users.noreply.github.com>","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 <elasticmachine@users.noreply.github.com>
Summary
This fixes a case where having too long id not wrapping and overflowing the popout by truncating the text and adding a copy button with tooltip to show whole ID.
Before

After


Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
Documentation was added for features that require explanation or tutorialsIf a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker listThis was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. Therelease_note:breakinglabel should be applied in these situations.Flaky Test Runner was used on any tests changedrelease_note:*label is applied per the guidelinesbackport:*labels.Release Note:
Fixed data preview metadata popup visual issues when ID is too long. Added a tooltip and copy button to improve user experience.