Skip to content
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

[8.x] [controls] fix controls plugin loading async chunks on home page (#194182) #194235

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…stic#194182)

Closes elastic#194180

PR resolves issue by updating registry to store getFactory instead of
the results of getFactory. In this way, `getFactory` is not executed
until control is rendered and bundle is needed.

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 98b8df7)
@kibanamachine kibanamachine merged commit 3f1ef96 into elastic:8.x Sep 26, 2024
23 checks passed
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
controls 455.7KB 456.1KB +430.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
controls 13.3KB 13.3KB +86.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @nreese

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants