Skip to content

[fleet/language_clients] wrap route in suspense#145260

Merged
spalger merged 1 commit intoelastic:mainfrom
spalger:fix/fleet-languages-overview-suspense
Nov 15, 2022
Merged

[fleet/language_clients] wrap route in suspense#145260
spalger merged 1 commit intoelastic:mainfrom
spalger:fix/fleet-languages-overview-suspense

Conversation

@spalger
Copy link
Contributor

@spalger spalger commented Nov 15, 2022

In #145166 we setup the language client docs pages to load async, but didn't add the suspense wrapper which is needed to load the async components. This adds that missing piece.

@spalger spalger added the Team:Fleet Team label for Observability Data Collection Fleet team label Nov 15, 2022
@spalger spalger requested a review from a team as a code owner November 15, 2022 15:24
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@spalger spalger added the release_note:skip Skip the PR/issue when compiling release notes label Nov 15, 2022
@kibana-ci
Copy link

💚 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
fleet 870.0KB 870.1KB +87.0B
Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 59 65 +6
osquery 108 113 +5
securitySolution 441 447 +6
total +19

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 67 73 +6
osquery 109 115 +6
securitySolution 518 524 +6
total +20

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

Copy link
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 it did not work before that correct?

@spalger
Copy link
Contributor Author

spalger commented Nov 15, 2022

Correct, without this change this is what happens on the page:
image

@spalger spalger merged commit 42a7867 into elastic:main Nov 15, 2022
@spalger spalger deleted the fix/fleet-languages-overview-suspense branch November 15, 2022 16:47
@kibanamachine kibanamachine added v8.6.0 backport:skip This PR does not require backporting labels Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants