Description
Introduce an error boundary around the diagram editor component to catch unexpected runtime errors in the UI. This is distinct from content validation failures - it handles unforeseen issues during rendering (e.g. React or React Flow crashes) rather than invalid workflow input. When such an error occurs, display a fallback UI instead of allowing the editor to crash or render a blank screen.
Motivation
Improve overall stability and resilience of the editor by safely handling unexpected rendering failures and preventing full UI crashes.
Proposed Implementation
No response
Definition of Done
Description
Introduce an error boundary around the diagram editor component to catch unexpected runtime errors in the UI. This is distinct from content validation failures - it handles unforeseen issues during rendering (e.g. React or React Flow crashes) rather than invalid workflow input. When such an error occurs, display a fallback UI instead of allowing the editor to crash or render a blank screen.
Motivation
Improve overall stability and resilience of the editor by safely handling unexpected rendering failures and preventing full UI crashes.
Proposed Implementation
No response
Definition of Done