Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Dashboard plugin crashing UI on throw #2080

Merged

Conversation

AkshatJawne
Copy link
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
Contributor Author

Will look into failures here

@AkshatJawne
Copy link
Contributor Author

Will remove commented out code if approach works

Copy link
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

packages/dashboard/src/DashboardLayout.tsx Outdated Show resolved Hide resolved
Copy link
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
10 checks passed
@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