Skip to content

Dashboard should display a clear error page when initialization process is failed #18758

@sleshchenko

Description

@sleshchenko

Is your enhancement related to a problem? Please describe.

When dashboard fails to initialize, the blank page is displayed.
Screenshot_20210108_130020

Describe the solution you'd like

We need to wrap UD pages with special components called error boundaries so they will catch unhandled JS errors in their child component tree and display a fallback UI.

To reproduce it, just run Dashboard next locally and configure it to use non-existing Che Server, like yarn start --env.server=https://8.8.8.8.nip.io

Metadata

Metadata

Assignees

Labels

area/dashboardkind/enhancementA feature request - must adhere to the feature request template.severity/P2Has a minor but important impact to the usage or development of the system.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions