Skip to content

Conversation

@billyvg
Copy link
Member

@billyvg billyvg commented Jan 25, 2019

If widgets fail to render, display an error card. This allows user to see widgets that did not error and not completely crash dashboard.

image

Depends on #11709 and #11669

@billyvg billyvg requested a review from a team January 25, 2019 19:07
@billyvg billyvg force-pushed the feat/dashboard/add-error-boundary-for-widgets branch from 61873a9 to 8ff6d9e Compare January 25, 2019 19:57
@lynnagara
Copy link
Member

Last commit LGTM

static propTypes = {
mini: PropTypes.bool,
message: PropTypes.node,
renderer: PropTypes.node,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be a function rather than a node? Or name the prop component?

@billyvg billyvg force-pushed the feat/dashboard/add-error-boundary-for-widgets branch from 5e02d3b to 659db09 Compare January 30, 2019 00:34
@billyvg billyvg merged commit 6925dad into master Jan 30, 2019
@billyvg billyvg deleted the feat/dashboard/add-error-boundary-for-widgets branch January 30, 2019 17:17
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants