Skip to content

fix: Don't render objects/children of panels if there's a widget error (#577)#585

Merged
mofojed merged 2 commits intodeephaven:mainfrom
mofojed:fix-error-boundary-main-2
Jun 27, 2024
Merged

fix: Don't render objects/children of panels if there's a widget error (#577)#585
mofojed merged 2 commits intodeephaven:mainfrom
mofojed:fix-error-boundary-main-2

Conversation

@mofojed
Copy link
Copy Markdown
Member

@mofojed mofojed commented Jun 26, 2024

  • Cherry-pick from fix: Don't render objects/children of panels if there's a widget error #577
  • In that case the children are unlikely to render correctly anyway
  • Have a WidgetStatus context that passes the widget status down
  • ReactPanel checks the context and only displays the content if
    there's no error with the widget
  • Tested with DHE branch bender_DH-16737-vplus against dev-vplus

deephaven#577)

- In that case the children are unlikely to render correctly anyway
- Have a `WidgetStatus` context that passes the widget status down
- `ReactPanel` checks the context and only displays the content if
there's no error with the widget
- Tested with DHE branch `bender_DH-16737-vplus` against dev-vplus
@mofojed mofojed requested a review from mattrunyon June 26, 2024 21:06
@mofojed mofojed self-assigned this Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants