kibana/packages
Kibana Machine 53921b8f61
[8.x] [unified search] optimize async chunk loading (#214483) (#216115)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[unified search] optimize async chunk loading
(#214483)](https://github.com/elastic/kibana/pull/214483)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Nathan
Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2025-03-27T00:39:58Z","message":"[unified
search] optimize async chunk loading (#214483)\n\nPR reduces
unifiedSearch chunks into ui chunk, action chunk, and a\nautocomplete
chunk.\n\n### Before\n<img width=\"350\" alt=\"Screenshot 2025-03-14 at
8 47
10 AM\"\nsrc=\"https://github.com/user-attachments/assets/f54fe21e-7548-48a1-8874-e36377826701\"\n/>\n\n###
After\nThe second chunk request is because search bar loads KQL
suggestions.\nThis will be addressed in a follow up PR and the search
bar will lazy\nload suggestions only when interacted with.\n<img
width=\"350\" alt=\"Screenshot 2025-03-14 at 12 56
28 PM\"\nsrc=\"https://github.com/user-attachments/assets/8f23ee56-a57a-489b-aeab-caa30f739d03\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3bc1465365872d093a9e8ff5666ab0b01738c792","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"[unified
search] optimize async chunk
loading","number":214483,"url":"https://github.com/elastic/kibana/pull/214483","mergeCommit":{"message":"[unified
search] optimize async chunk loading (#214483)\n\nPR reduces
unifiedSearch chunks into ui chunk, action chunk, and a\nautocomplete
chunk.\n\n### Before\n<img width=\"350\" alt=\"Screenshot 2025-03-14 at
8 47
10 AM\"\nsrc=\"https://github.com/user-attachments/assets/f54fe21e-7548-48a1-8874-e36377826701\"\n/>\n\n###
After\nThe second chunk request is because search bar loads KQL
suggestions.\nThis will be addressed in a follow up PR and the search
bar will lazy\nload suggestions only when interacted with.\n<img
width=\"350\" alt=\"Screenshot 2025-03-14 at 12 56
28 PM\"\nsrc=\"https://github.com/user-attachments/assets/8f23ee56-a57a-489b-aeab-caa30f739d03\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3bc1465365872d093a9e8ff5666ab0b01738c792"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214483","number":214483,"mergeCommit":{"message":"[unified
search] optimize async chunk loading (#214483)\n\nPR reduces
unifiedSearch chunks into ui chunk, action chunk, and a\nautocomplete
chunk.\n\n### Before\n<img width=\"350\" alt=\"Screenshot 2025-03-14 at
8 47
10 AM\"\nsrc=\"https://github.com/user-attachments/assets/f54fe21e-7548-48a1-8874-e36377826701\"\n/>\n\n###
After\nThe second chunk request is because search bar loads KQL
suggestions.\nThis will be addressed in a follow up PR and the search
bar will lazy\nload suggestions only when interacted with.\n<img
width=\"350\" alt=\"Screenshot 2025-03-14 at 12 56
28 PM\"\nsrc=\"https://github.com/user-attachments/assets/8f23ee56-a57a-489b-aeab-caa30f739d03\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3bc1465365872d093a9e8ff5666ab0b01738c792"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-31 16:03:41 +01:00
..
kbn-babel-preset [8.x] [Security Solution] Move rule actions field and its validation into the common folder (#215494) (#215949) 2025-03-25 23:53:05 +02:00
kbn-bazel-runner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-capture-oas-snapshot-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-check-mappings-update-cli [8.x] [Entity Analytics] Consider Closed alerts for Risk Scoring (#193667) (#210940) 2025-02-13 11:20:39 +05:30
kbn-check-prod-native-modules-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-performance-metrics [8.x] Disable allowAbsoluteUrls for axios (#215138) (#215829) 2025-03-25 18:23:20 +02:00
kbn-ci-stats-shipper-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cli-dev-mode [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-presentation (#204843) (#205120) 2024-12-24 08:44:32 +01:00
kbn-dependency-usage [8.x] [CI] Only emit .d.ts when running typecheck (#209259) (#214943) 2025-03-18 15:05:07 +02:00
kbn-docs-utils [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-visualizations (#202754) (#205974) 2025-01-13 10:53:37 +00:00
kbn-eslint-config [8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474) 2025-02-28 10:12:01 +00:00
kbn-eslint-plugin-css [8.x] Resolve false positives with eslint no color rule (#204848) (#204906) 2024-12-19 06:23:17 -06:00
kbn-eslint-plugin-disable [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07:00
kbn-eslint-plugin-eslint [8.x] [Hardening] Kibana Feature API Privileges Names (#208067) (#209321) 2025-02-03 11:51:36 -05:00
kbn-eslint-plugin-i18n [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-visualizations (#202754) (#205974) 2025-01-13 10:53:37 +00:00
kbn-eslint-plugin-imports [8.x] chore(NA): upgrade to webpack 5 (#191106) (#211146) 2025-02-14 13:36:07 +00:00
kbn-eslint-plugin-telemetry [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-infra_services-team (#202830) (#205231) 2024-12-29 13:10:37 -06:00
kbn-failed-test-reporter-cli [8.x] Disable allowAbsoluteUrls for axios (#215138) (#215829) 2025-03-25 18:23:20 +02:00
kbn-find-used-node-modules Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-generate [8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474) 2025-02-28 10:12:01 +00:00
kbn-generate-console-definitions [8.x] SKA: Categorise remaining packages (#205875) (#205973) 2025-01-08 23:32:22 +00:00
kbn-import-locator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-json-ast Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-kibana-manifest-schema [8.x] Kibana Sustainable Architecture: Force &#x60;visibility: &#x27;private&#x27;&#x60; for solutions in manifest (#199452) (#199488) 2024-11-08 10:26:58 -06:00
kbn-lint-packages-cli [8.x] [codeowners] Filter kibanamachine (#199404) (#199864) 2024-11-12 14:38:18 -06:00
kbn-lint-ts-projects-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-managed-vscode-config [8.x] SKA: Misc cleanup and enhancements (#212207) (#212351) 2025-02-25 12:57:23 +00:00
kbn-managed-vscode-config-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-manifest [8.x] Sustainable Kibana Architecture: Categorise straightforward packages (#199630) (#201340) 2024-11-22 09:47:23 -06:00
kbn-mock-idp-plugin [8.x] Preparation for High Contrast Mode, Security domains (#202609) (#203493) 2024-12-09 16:43:23 -06:00
kbn-optimizer [8.x] [unified search] optimize async chunk loading (#214483) (#216115) 2025-03-31 16:03:41 +01:00
kbn-peggy-loader [8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474) 2025-02-28 10:12:01 +00:00
kbn-performance-testing-dataset-extractor [8.x] [ES &#x60;body&#x60; removal] &#x60;@elastic/appex-qa&#x60; (#204878) (#204916) 2024-12-19 06:55:11 -06:00
kbn-picomatcher Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-plugin-check [8.x] SKA: Categorise remaining packages (#205875) (#205973) 2025-01-08 23:32:22 +00:00
kbn-plugin-generator [8.x] SKA: Relocate /test to /src/platform/test (#210956) (#214791) 2025-03-18 14:48:04 +01:00
kbn-plugin-helpers [8.x] fix: add REACT_18 env variable to kbn-plugin-helpers bazel config (#211121) (#211616) 2025-02-18 19:33:00 +01:00
kbn-relocate [8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474) 2025-02-28 10:12:01 +00:00
kbn-repo-file-maps Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-linter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-source-classifier [8.x] SKA: Relocate /test to /src/platform/test (#210956) (#214791) 2025-03-18 14:48:04 +01:00
kbn-repo-source-classifier-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-set-map [8.x] SKA: Categorise remaining packages (#205875) (#205973) 2025-01-08 23:32:22 +00:00
kbn-sort-package-json Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-spec-to-console Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-styled-components-mapping-cli [8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474) 2025-02-28 10:12:01 +00:00
kbn-ts-projects [Backport] Dependency Usage CLI (#201815) 2024-11-26 21:48:26 +01:00
kbn-ts-type-check-cli [8.x] [CI] Only emit .d.ts when running typecheck (#209259) (#214943) 2025-03-18 15:05:07 +02:00
kbn-validate-next-docs-cli [8.x] [ci] Work around docosaurus errors (#206097) (#206150) 2025-01-10 00:31:36 +00:00
kbn-web-worker-stub Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-whereis-pkg-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-yarn-lock-validator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00