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

Error boundaries for panels #1897

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

jameshadfield
Copy link
Member

We already use error boundaries in more tightly scoped parts of auspice (e.g. surrounding the legend), presumably in response to specific bugs/crashes observed therein. This adds a panel-specific error boundary which surrounds each panel.

Here's how it looks with an error in every panel:

image
image

We already use error boundaries in more tightly scoped parts of auspice
(e.g. surrounding the legend), presumably in response to specific
bugs/crashes observed therein. This adds a panel-specific error boundary
which surrounds each panel.
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-james-panel-err-z5zy4s November 12, 2024 22:53 Inactive
@jameshadfield jameshadfield merged commit 8886bdd into master Nov 13, 2024
25 checks passed
@jameshadfield jameshadfield deleted the james/panel-error-boundaries branch November 13, 2024 19:53
@corneliusroemer
Copy link
Member

Oh this is great, thanks!

@victorlin
Copy link
Member

victorlin commented Nov 14, 2024

I can see this being very useful for #1888! I opened a PR to start using it in nextstrain.org too: nextstrain/nextstrain.org#1073

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.

4 participants