-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Kibana Overview] Shift SCSS import and lazy-load main component #204661
Conversation
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM
…stic#204661) ## Summary Part of elastic/kibana-team#1082 The purpose of this PR is to reduce the page load bundle size of the `kibanaOverview` plugin. Converts the main component of the `kibanaOverview` plugin to be lazy loaded, and shifts the import of the main SCSS file to be imported from the lazily-loaded component. This PR does not include any changes that would be noticeable by end-users. It changes the internals to use a different technology for styling components. ## References 1. https://emotion.sh/docs/globals 2. https://emotion.sh/docs/best-practices 3. elastic/eui#6828 (comment)
…stic#204661) ## Summary Part of elastic/kibana-team#1082 The purpose of this PR is to reduce the page load bundle size of the `kibanaOverview` plugin. Converts the main component of the `kibanaOverview` plugin to be lazy loaded, and shifts the import of the main SCSS file to be imported from the lazily-loaded component. This PR does not include any changes that would be noticeable by end-users. It changes the internals to use a different technology for styling components. ## References 1. https://emotion.sh/docs/globals 2. https://emotion.sh/docs/best-practices 3. elastic/eui#6828 (comment)
…stic#204661) ## Summary Part of elastic/kibana-team#1082 The purpose of this PR is to reduce the page load bundle size of the `kibanaOverview` plugin. Converts the main component of the `kibanaOverview` plugin to be lazy loaded, and shifts the import of the main SCSS file to be imported from the lazily-loaded component. This PR does not include any changes that would be noticeable by end-users. It changes the internals to use a different technology for styling components. ## References 1. https://emotion.sh/docs/globals 2. https://emotion.sh/docs/best-practices 3. elastic/eui#6828 (comment)
Starting backport for target branches: 8.x |
Starting backport for target branches: 8.x |
…stic#204661) ## Summary Part of elastic/kibana-team#1082 The purpose of this PR is to reduce the page load bundle size of the `kibanaOverview` plugin. Converts the main component of the `kibanaOverview` plugin to be lazy loaded, and shifts the import of the main SCSS file to be imported from the lazily-loaded component. This PR does not include any changes that would be noticeable by end-users. It changes the internals to use a different technology for styling components. ## References 1. https://emotion.sh/docs/globals 2. https://emotion.sh/docs/best-practices 3. elastic/eui#6828 (comment) (cherry picked from commit 1861bbc)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…stic#204661) ## Summary Part of elastic/kibana-team#1082 The purpose of this PR is to reduce the page load bundle size of the `kibanaOverview` plugin. Converts the main component of the `kibanaOverview` plugin to be lazy loaded, and shifts the import of the main SCSS file to be imported from the lazily-loaded component. This PR does not include any changes that would be noticeable by end-users. It changes the internals to use a different technology for styling components. ## References 1. https://emotion.sh/docs/globals 2. https://emotion.sh/docs/best-practices 3. elastic/eui#6828 (comment) (cherry picked from commit 1861bbc)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
#204661) (#205484) # Backport This will backport the following commits from `main` to `8.x`: - [[Kibana Overview] Shift SCSS import and lazy-load main component (#204661)](#204661) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tim Sullivan","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-19T15:10:02Z","message":"[Kibana Overview] Shift SCSS import and lazy-load main component (#204661)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1082\r\n\r\nThe purpose of this PR is to reduce the page load bundle size of the\r\n`kibanaOverview` plugin.\r\n\r\nConverts the main component of the `kibanaOverview` plugin to be lazy\r\nloaded, and shifts the import of the main SCSS file to be imported from\r\nthe lazily-loaded component. This PR does not include any changes that\r\nwould be noticeable by end-users. It changes the internals to use a\r\ndifferent technology for styling components.\r\n\r\n## References\r\n1. https://emotion.sh/docs/globals\r\n2. https://emotion.sh/docs/best-practices\r\n3.\r\nhttps://github.com/elastic/eui/discussions/6828#discussioncomment-10825360","sha":"1861bbc16a92afd1a2bb88521bb2110746079efd","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Kibana Overview] Shift SCSS import and lazy-load main component","number":204661,"url":"https://github.com/elastic/kibana/pull/204661","mergeCommit":{"message":"[Kibana Overview] Shift SCSS import and lazy-load main component (#204661)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1082\r\n\r\nThe purpose of this PR is to reduce the page load bundle size of the\r\n`kibanaOverview` plugin.\r\n\r\nConverts the main component of the `kibanaOverview` plugin to be lazy\r\nloaded, and shifts the import of the main SCSS file to be imported from\r\nthe lazily-loaded component. This PR does not include any changes that\r\nwould be noticeable by end-users. It changes the internals to use a\r\ndifferent technology for styling components.\r\n\r\n## References\r\n1. https://emotion.sh/docs/globals\r\n2. https://emotion.sh/docs/best-practices\r\n3.\r\nhttps://github.com/elastic/eui/discussions/6828#discussioncomment-10825360","sha":"1861bbc16a92afd1a2bb88521bb2110746079efd"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204661","number":204661,"mergeCommit":{"message":"[Kibana Overview] Shift SCSS import and lazy-load main component (#204661)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1082\r\n\r\nThe purpose of this PR is to reduce the page load bundle size of the\r\n`kibanaOverview` plugin.\r\n\r\nConverts the main component of the `kibanaOverview` plugin to be lazy\r\nloaded, and shifts the import of the main SCSS file to be imported from\r\nthe lazily-loaded component. This PR does not include any changes that\r\nwould be noticeable by end-users. It changes the internals to use a\r\ndifferent technology for styling components.\r\n\r\n## References\r\n1. https://emotion.sh/docs/globals\r\n2. https://emotion.sh/docs/best-practices\r\n3.\r\nhttps://github.com/elastic/eui/discussions/6828#discussioncomment-10825360","sha":"1861bbc16a92afd1a2bb88521bb2110746079efd"}}]}] BACKPORT--> Co-authored-by: Tim Sullivan <[email protected]>
…stic#204661) ## Summary Part of elastic/kibana-team#1082 The purpose of this PR is to reduce the page load bundle size of the `kibanaOverview` plugin. Converts the main component of the `kibanaOverview` plugin to be lazy loaded, and shifts the import of the main SCSS file to be imported from the lazily-loaded component. This PR does not include any changes that would be noticeable by end-users. It changes the internals to use a different technology for styling components. ## References 1. https://emotion.sh/docs/globals 2. https://emotion.sh/docs/best-practices 3. elastic/eui#6828 (comment)
Pinging @elastic/appex-sharedux (Team:SharedUX) |
…stic#204661) ## Summary Part of elastic/kibana-team#1082 The purpose of this PR is to reduce the page load bundle size of the `kibanaOverview` plugin. Converts the main component of the `kibanaOverview` plugin to be lazy loaded, and shifts the import of the main SCSS file to be imported from the lazily-loaded component. This PR does not include any changes that would be noticeable by end-users. It changes the internals to use a different technology for styling components. ## References 1. https://emotion.sh/docs/globals 2. https://emotion.sh/docs/best-practices 3. elastic/eui#6828 (comment)
Summary
Part of https://github.com/elastic/kibana-team/issues/1082
The purpose of this PR is to reduce the page load bundle size of the
kibanaOverview
plugin.Converts the main component of the
kibanaOverview
plugin to be lazy loaded, and shifts the import of the main SCSS file to be imported from the lazily-loaded component. This PR does not include any changes that would be noticeable by end-users. It changes the internals to use a different technology for styling components.References