rusackas opened a new pull request, #37766:
URL: https://github.com/apache/superset/pull/37766

   ## Summary
   
   This PR consolidates the ErrorBoundary implementation by moving it to 
`@superset-ui/core` and removing the `react-error-boundary` npm dependency.
   
   Changes:
   - Creates a new `ErrorBoundary` component in `@superset-ui/core` based on 
the react-error-boundary API
   - Removes the `react-error-boundary` npm dependency  
   - Updates all usages across the codebase to import from `@superset-ui/core`
   - Deletes the old `src/components/ErrorBoundary` directory
   
   The new ErrorBoundary supports:
   - `FallbackComponent` prop for custom error UI
   - `fallbackRender` prop for render function fallback
   - `onError` callback for error reporting
   - `resetErrorBoundary` function for error recovery
   
   When no fallback is provided, errors are caught silently (returns null), 
which matches the previous `showMessage={false}` behavior.
   
   ## Test plan
   
   - [x] Pre-commit hooks pass
   - [x] SuperChart tests pass
   - [ ] CI passes
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to