[Logs UX] Replace usages of EuiErrorBoundary#220060
[Logs UX] Replace usages of EuiErrorBoundary#220060mohamedhamed-ahmed merged 3 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
|
A couple of errors that I am not fully sure we want to catch as part of the |
mykolaharmash
left a comment
There was a problem hiding this comment.
Tested the onboarding changes locally, everything works as expected. Thank you for the change 🙌
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
|
We shouldn't report them to telemetry if it's an expected flow (which seems it is). There's a related PR to audit log levels #218413 and a similar PR could be created, especially if the frequency of those errors is high. |
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/15132035308 |
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/15132035314 |
closes elastic#211287 ## 📝 Summary This PR add aims to replace the `EuiErrorBoundary` with `KibanaErrorBoundary` but figured out that both can be completely removed as they are already wrapped in `KibanaRenderContextProvider` as per the image below. <img width="857" alt="Screenshot 2025-05-05 at 14 41 55" src="https://github.com/user-attachments/assets/9d8e908e-5df3-40bc-9b0d-f47b94de42ef" /> ## 🔴 Before <img width="1725" alt="Screenshot 2025-05-05 at 13 25 23" src="https://github.com/user-attachments/assets/a474ce6f-2f43-4368-93d0-30191eb41816" /> ## 🟢 After <img width="1727" alt="Screenshot 2025-05-05 at 13 25 00" src="https://github.com/user-attachments/assets/2c2ffbd8-af0d-45fd-9de7-0375a8835f17" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 705fea6)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
closes elastic#211287 ## 📝 Summary This PR add aims to replace the `EuiErrorBoundary` with `KibanaErrorBoundary` but figured out that both can be completely removed as they are already wrapped in `KibanaRenderContextProvider` as per the image below. <img width="857" alt="Screenshot 2025-05-05 at 14 41 55" src="https://github.com/user-attachments/assets/9d8e908e-5df3-40bc-9b0d-f47b94de42ef" /> ## 🔴 Before <img width="1725" alt="Screenshot 2025-05-05 at 13 25 23" src="https://github.com/user-attachments/assets/a474ce6f-2f43-4368-93d0-30191eb41816" /> ## 🟢 After <img width="1727" alt="Screenshot 2025-05-05 at 13 25 00" src="https://github.com/user-attachments/assets/2c2ffbd8-af0d-45fd-9de7-0375a8835f17" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 705fea6)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.19`: - [[Logs UX] Replace usages of EuiErrorBoundary (#220060)](#220060) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"mohamedhamed-ahmed","email":"mohamed.ahmed@elastic.co"},"sourceCommit":{"committedDate":"2025-05-06T10:42:29Z","message":"[Logs UX] Replace usages of EuiErrorBoundary (#220060)\n\ncloses https://github.com/elastic/kibana/issues/211287\n\n## 📝 Summary\n\nThis PR add aims to replace the `EuiErrorBoundary` with\n`KibanaErrorBoundary` but figured out that both can be completely\nremoved as they are already wrapped in `KibanaRenderContextProvider` as\nper the image below.\n\n<img width=\"857\" alt=\"Screenshot 2025-05-05 at 14 41 55\"\nsrc=\"https://github.com/user-attachments/assets/9d8e908e-5df3-40bc-9b0d-f47b94de42ef\"\n/>\n\n## 🔴 Before\n<img width=\"1725\" alt=\"Screenshot 2025-05-05 at 13 25 23\"\nsrc=\"https://github.com/user-attachments/assets/a474ce6f-2f43-4368-93d0-30191eb41816\"\n/>\n\n## 🟢 After\n<img width=\"1727\" alt=\"Screenshot 2025-05-05 at 13 25 00\"\nsrc=\"https://github.com/user-attachments/assets/2c2ffbd8-af0d-45fd-9de7-0375a8835f17\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"705fea6bd0efd6f25e1d151cdfb547c08bedc591","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-logs","backport:version","v9.1.0","v8.19.0","Project: Obs Quality"],"title":"[Logs UX] Replace usages of EuiErrorBoundary","number":220060,"url":"https://github.com/elastic/kibana/pull/220060","mergeCommit":{"message":"[Logs UX] Replace usages of EuiErrorBoundary (#220060)\n\ncloses https://github.com/elastic/kibana/issues/211287\n\n## 📝 Summary\n\nThis PR add aims to replace the `EuiErrorBoundary` with\n`KibanaErrorBoundary` but figured out that both can be completely\nremoved as they are already wrapped in `KibanaRenderContextProvider` as\nper the image below.\n\n<img width=\"857\" alt=\"Screenshot 2025-05-05 at 14 41 55\"\nsrc=\"https://github.com/user-attachments/assets/9d8e908e-5df3-40bc-9b0d-f47b94de42ef\"\n/>\n\n## 🔴 Before\n<img width=\"1725\" alt=\"Screenshot 2025-05-05 at 13 25 23\"\nsrc=\"https://github.com/user-attachments/assets/a474ce6f-2f43-4368-93d0-30191eb41816\"\n/>\n\n## 🟢 After\n<img width=\"1727\" alt=\"Screenshot 2025-05-05 at 13 25 00\"\nsrc=\"https://github.com/user-attachments/assets/2c2ffbd8-af0d-45fd-9de7-0375a8835f17\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"705fea6bd0efd6f25e1d151cdfb547c08bedc591"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220060","number":220060,"mergeCommit":{"message":"[Logs UX] Replace usages of EuiErrorBoundary (#220060)\n\ncloses https://github.com/elastic/kibana/issues/211287\n\n## 📝 Summary\n\nThis PR add aims to replace the `EuiErrorBoundary` with\n`KibanaErrorBoundary` but figured out that both can be completely\nremoved as they are already wrapped in `KibanaRenderContextProvider` as\nper the image below.\n\n<img width=\"857\" alt=\"Screenshot 2025-05-05 at 14 41 55\"\nsrc=\"https://github.com/user-attachments/assets/9d8e908e-5df3-40bc-9b0d-f47b94de42ef\"\n/>\n\n## 🔴 Before\n<img width=\"1725\" alt=\"Screenshot 2025-05-05 at 13 25 23\"\nsrc=\"https://github.com/user-attachments/assets/a474ce6f-2f43-4368-93d0-30191eb41816\"\n/>\n\n## 🟢 After\n<img width=\"1727\" alt=\"Screenshot 2025-05-05 at 13 25 00\"\nsrc=\"https://github.com/user-attachments/assets/2c2ffbd8-af0d-45fd-9de7-0375a8835f17\"\n/>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"705fea6bd0efd6f25e1d151cdfb547c08bedc591"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: mohamedhamed-ahmed <mohamed.ahmed@elastic.co>
|
@mohamedhamed-ahmed Where is the guidance regarding |
|
@JasonStoltz let me share a document with you that has all needed information. |
closes elastic#211287 ## 📝 Summary This PR add aims to replace the `EuiErrorBoundary` with `KibanaErrorBoundary` but figured out that both can be completely removed as they are already wrapped in `KibanaRenderContextProvider` as per the image below. <img width="857" alt="Screenshot 2025-05-05 at 14 41 55" src="https://github.com/user-attachments/assets/9d8e908e-5df3-40bc-9b0d-f47b94de42ef" /> ## 🔴 Before <img width="1725" alt="Screenshot 2025-05-05 at 13 25 23" src="https://github.com/user-attachments/assets/a474ce6f-2f43-4368-93d0-30191eb41816" /> ## 🟢 After <img width="1727" alt="Screenshot 2025-05-05 at 13 25 00" src="https://github.com/user-attachments/assets/2c2ffbd8-af0d-45fd-9de7-0375a8835f17" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
closes elastic#211287 ## 📝 Summary This PR add aims to replace the `EuiErrorBoundary` with `KibanaErrorBoundary` but figured out that both can be completely removed as they are already wrapped in `KibanaRenderContextProvider` as per the image below. <img width="857" alt="Screenshot 2025-05-05 at 14 41 55" src="https://github.com/user-attachments/assets/9d8e908e-5df3-40bc-9b0d-f47b94de42ef" /> ## 🔴 Before <img width="1725" alt="Screenshot 2025-05-05 at 13 25 23" src="https://github.com/user-attachments/assets/a474ce6f-2f43-4368-93d0-30191eb41816" /> ## 🟢 After <img width="1727" alt="Screenshot 2025-05-05 at 13 25 00" src="https://github.com/user-attachments/assets/2c2ffbd8-af0d-45fd-9de7-0375a8835f17" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
closes #211287
📝 Summary
This PR add aims to replace the
EuiErrorBoundarywithKibanaErrorBoundarybut figured out that both can be completely removed as they are already wrapped inKibanaRenderContextProvideras per the image below.🔴 Before
🟢 After