codeant-ai-for-open-source[bot] commented on PR #38014:
URL: https://github.com/apache/superset/pull/38014#issuecomment-3908908927
## **Sequence Diagram**
The PR makes chart error banners non-dismissible by threading a
closable=false prop from ChartErrorMessage through ErrorMessageWithStackTrace
into the final ErrorAlert, so chart tiles (dashboard or explore) render an
error banner without a close/X button.
```mermaid
sequenceDiagram
participant ChartComponent
participant ChartErrorMessage
participant ErrorMessageWithStackTrace
participant ErrorAlert(UI)
ChartComponent->>ChartErrorMessage: Render with chart error
ChartErrorMessage->>ErrorMessageWithStackTrace: pass error (owned) +
closable=false
ErrorMessageWithStackTrace->>ErrorAlert(UI): forward props including
closable=false
ErrorAlert(UI)-->>ErrorMessageWithStackTrace: render banner without
close button
ErrorMessageWithStackTrace-->>ChartErrorMessage: complete render
ChartErrorMessage-->>ChartComponent: show non-dismissible error banner
```
---
*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]