kedro-viz icon indicating copy to clipboard operation
kedro-viz copied to clipboard

Introduce ErrorBoundary Component

Open ravi-kumar-pilla opened this issue 9 months ago • 1 comments

Description

At the moment Kedro-Viz does not have an error boundary and a fallback UI (nothing that I am aware of apart from a wrong or broken URL). This ticket is to introduce ErrorBoundary for Kedro-Viz

Context

When an error occurs due to multiple reasons, react removes UI resulting in a blank screen and a bad experience for users. Instead, we can have ErrorBoundary to fallback.

Possible Implementation

https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary

Checklist

  • [x] Include labels so that we can categorise your feature request

ravi-kumar-pilla avatar May 14 '24 22:05 ravi-kumar-pilla

Suggestion: can re-use the PipelineWarningContent for now to handle the error

Huongg avatar Jul 01 '24 15:07 Huongg