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

[Expamples][Guided onboarding] - added missing EuiProvider to fix errors #199070

Merged

Conversation

PhilippeOberti
Copy link
Contributor

@PhilippeOberti PhilippeOberti commented Nov 5, 2024

Summary

This PR fixes a missing EuiProvider within the guided onboarding example. Currently the app is barely usable as it throws hundreds or even thousands of errors which make the page extremely slow.

Before fix

Screen.Recording.2024-11-05.at.5.28.10.PM.mov

After fix

Screen.Recording.2024-11-05.at.5.26.04.PM.mov

Notes

This PR does NOT fix all the console errors, that's why you see a couple of errors in the console still on the second video above. It just fixes the bare minimum to make the app at least usable.

@PhilippeOberti PhilippeOberti added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Threat Hunting:Investigations Security Solution Investigations Team backport:version Backport to applied version labels v8.17.0 labels Nov 5, 2024
@PhilippeOberti PhilippeOberti requested a review from a team as a code owner November 5, 2024 23:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@PhilippeOberti PhilippeOberti merged commit 833658f into elastic:main Nov 6, 2024
21 checks passed
@PhilippeOberti PhilippeOberti deleted the fix-guided-onboarding-error branch November 6, 2024 02:17
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11695996809

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 6, 2024
…ors (elastic#199070)

## Summary

This PR fixes a missing `EuiProvider` within the guided onboarding
example. Currently the app is barely usable as it throws hundreds or
even thousands of errors which make the page extremely slow.

#### Before fix

https://github.com/user-attachments/assets/87b8252a-82ac-4094-8adf-3cd4c12236ef

#### After fix

https://github.com/user-attachments/assets/0382192b-94b7-4d4b-bada-2d438a750b14

### Notes
**_This PR does NOT fix all the console errors, that's why you see a
couple of errors in the console still on the second video above. It just
fixes the bare minimum to make the app at least usable._**

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 833658f)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 6, 2024
…ix errors (#199070) (#199076)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Expamples][Guided onboarding] - added missing EuiProvider to fix
errors (#199070)](#199070)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-06T02:17:16Z","message":"[Expamples][Guided
onboarding] - added missing EuiProvider to fix errors (#199070)\n\n##
Summary\r\n\r\nThis PR fixes a missing `EuiProvider` within the guided
onboarding\r\nexample. Currently the app is barely usable as it throws
hundreds or\r\neven thousands of errors which make the page extremely
slow.\r\n\r\n#### Before
fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/87b8252a-82ac-4094-8adf-3cd4c12236ef\r\n\r\n####
After
fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0382192b-94b7-4d4b-bada-2d438a750b14\r\n\r\n\r\n###
Notes\r\n**_This PR does NOT fix all the console errors, that's why you
see a\r\ncouple of errors in the console still on the second video
above. It just\r\nfixes the bare minimum to make the app at least
usable._**\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"833658f094bfec06b1bfdb34c32376cbb5862f53","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat
Hunting:Investigations","backport:version","v8.17.0"],"title":"[Expamples][Guided
onboarding] - added missing EuiProvider to fix
errors","number":199070,"url":"https://github.com/elastic/kibana/pull/199070","mergeCommit":{"message":"[Expamples][Guided
onboarding] - added missing EuiProvider to fix errors (#199070)\n\n##
Summary\r\n\r\nThis PR fixes a missing `EuiProvider` within the guided
onboarding\r\nexample. Currently the app is barely usable as it throws
hundreds or\r\neven thousands of errors which make the page extremely
slow.\r\n\r\n#### Before
fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/87b8252a-82ac-4094-8adf-3cd4c12236ef\r\n\r\n####
After
fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0382192b-94b7-4d4b-bada-2d438a750b14\r\n\r\n\r\n###
Notes\r\n**_This PR does NOT fix all the console errors, that's why you
see a\r\ncouple of errors in the console still on the second video
above. It just\r\nfixes the bare minimum to make the app at least
usable._**\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"833658f094bfec06b1bfdb34c32376cbb5862f53"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199070","number":199070,"mergeCommit":{"message":"[Expamples][Guided
onboarding] - added missing EuiProvider to fix errors (#199070)\n\n##
Summary\r\n\r\nThis PR fixes a missing `EuiProvider` within the guided
onboarding\r\nexample. Currently the app is barely usable as it throws
hundreds or\r\neven thousands of errors which make the page extremely
slow.\r\n\r\n#### Before
fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/87b8252a-82ac-4094-8adf-3cd4c12236ef\r\n\r\n####
After
fix\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0382192b-94b7-4d4b-bada-2d438a750b14\r\n\r\n\r\n###
Notes\r\n**_This PR does NOT fix all the console errors, that's why you
see a\r\ncouple of errors in the console still on the second video
above. It just\r\nfixes the bare minimum to make the app at least
usable._**\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"833658f094bfec06b1bfdb34c32376cbb5862f53"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <[email protected]>
mgadewoll pushed a commit to mgadewoll/kibana that referenced this pull request Nov 7, 2024
…ors (elastic#199070)

## Summary

This PR fixes a missing `EuiProvider` within the guided onboarding
example. Currently the app is barely usable as it throws hundreds or
even thousands of errors which make the page extremely slow.

#### Before fix


https://github.com/user-attachments/assets/87b8252a-82ac-4094-8adf-3cd4c12236ef

#### After fix


https://github.com/user-attachments/assets/0382192b-94b7-4d4b-bada-2d438a750b14


### Notes
**_This PR does NOT fix all the console errors, that's why you see a
couple of errors in the console still on the second video above. It just
fixes the bare minimum to make the app at least usable._**

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants