codeant-ai-for-open-source[bot] commented on PR #37706:
URL: https://github.com/apache/superset/pull/37706#issuecomment-3854502802
## **Sequence Diagram**
This PR pins react-error-boundary to v6.0.0 for React 17 compatibility and
updates the chart fallback to render the error via error.toString() (instead of
getErrorMessage). The diagram shows the runtime error flow to the fallback and
the repository change that prevents Dependabot upgrading the dependency.
```mermaid
sequenceDiagram
participant User
participant Chart
participant ErrorBoundary
participant FallbackComponent
participant Repo
User->>Chart: Trigger chart render / action
Chart->>ErrorBoundary: Error thrown during render
ErrorBoundary->>FallbackComponent: Pass error to fallback
FallbackComponent-->>User: Render error message (error.toString())
Repo->>Repo: package.json & lock pinned [email protected]
(Dependabot ignore)
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]