Skip to content

fix: Dashboard plugin crashing UI on throw#2080

Merged
AkshatJawne merged 8 commits intodeephaven:mainfrom
AkshatJawne:1771_dashboard_plugin_error_fix
Jun 17, 2024
Merged

fix: Dashboard plugin crashing UI on throw#2080
AkshatJawne merged 8 commits intodeephaven:mainfrom
AkshatJawne:1771_dashboard_plugin_error_fix

Conversation

@AkshatJawne
Copy link
Copy Markdown
Contributor

@AkshatJawne AkshatJawne commented Jun 13, 2024

Resolves #1771

Changes Implemented:

  • Wrap ErrorBoundary around cloning of Dashboard Plugin in DashboardLayout

@AkshatJawne AkshatJawne requested a review from mofojed June 13, 2024 21:32
@AkshatJawne AkshatJawne self-assigned this Jun 13, 2024
@AkshatJawne
Copy link
Copy Markdown
Contributor Author

Will look into failures here

@AkshatJawne
Copy link
Copy Markdown
Contributor Author

Will remove commented out code if approach works

Copy link
Copy Markdown
Collaborator

@mattrunyon mattrunyon left a comment

Choose a reason for hiding this comment

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

Update the PR body as well. Looks like what you listed was the original fix attempt

Comment thread packages/dashboard/src/DashboardLayout.tsx
@AkshatJawne AkshatJawne requested a review from mattrunyon June 14, 2024 20:49
Copy link
Copy Markdown
Collaborator

@mattrunyon mattrunyon left a comment

Choose a reason for hiding this comment

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

Looks good. Also at least prevents the crash in deephaven/deephaven-plugins#510 but that ticket still documents bad behavior in Deephaven UI, so it should stay open

@AkshatJawne AkshatJawne merged commit e6b55cf into deephaven:main Jun 17, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 17, 2024
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.

Dashboard plugin that throws error crashes UI

2 participants