[Unified search] Optimise the bundle size unified search plugin#130662
[Unified search] Optimise the bundle size unified search plugin#130662nlatipov merged 33 commits intoelastic:mainfrom
Conversation
…lete-to-unified-search
…ithub.com/nlatipov/kibana into issue-move-autocomplete-to-unified-search
…lete-to-unified-search
…lete-to-unified-search
…hange-index-pattern-to-data-view
f869c95 to
2912c37
Compare
|
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
|
Yes @cchaos you are right, let's remove the sass related improvements from this PR and check the reduction without them. |
Ok, let's try. I will return the sass files. And after that, let's look at the changes in the size of the plugin. |
stratoula
left a comment
There was a problem hiding this comment.
LGTM!, code review only
|
@elasticmachine merge upstream |
|
@nlatipov I think that the @elastic/kibana-design is required to review here because you made a very small change in the index.scss (If I understnd correctly an empty line addition). Do you want to restore this file as it is in main? |
All right. I wanted to restore this file from main after trying to optimize the bundle. I'm surprised the file is empty. Because it's very important file. And in main branch it has rows. I will try to resolve this issue. |
5735054 to
2c4fd93
Compare
|
@stratoula I just restored the file from main, and it looks like there was issue in that the size of the file was changed without making any changes to the file. I fixed it. But it seems that the design team should review this PR, I suppose in this PR there were commits that touched the Sass files. But no changes will merge into mine branch. |
cchaos
left a comment
There was a problem hiding this comment.
I dont see any touched Sass files anymore but I'll approve anyway to not block merging.
|
@jbudz Could you please re-review this PR? |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @nlatipov |
…tic#130662) * feat: move autocomplete logic from data plugin to unified search * minor fix after comments * updated Documentation: data.autocomplete -> unifiedSearch.autocomplete * changed renameFromRoot order for autocomplete * removed extra renameFromRoot in config deprecations, updated test * added configPath for unified search plugin * Update kibana.json * updated path to autocomplete * fix conflict * fix conflict * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * fix Linting * Merge branch 'issue-move-autocomplete-to-unified-search' into issue-change-index-pattern-to-data-view * feat: replace static import to dynamic import for es-query in autocomplete * feat: add unifiedSearch to uptime plugin * refact scss * feat: add comment for filter lazy loading * fix css issue * feat: rollback filter bar changes * update limits * rollback scss files and update limites * fix: restored index.scss file
Close: #129978
Summary
What was done:
escapeKuery,fromKueryExpression,buildQueryFromFiltersexpression function became asynchronous;Bundle structure: