-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
BUGFIX: Add primitive Root ErrorBoundary around whole UI #3485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
We can make some improvements, like the copy button you mentioned but also a reload button.
Why didn't you use the native React ErrorBoundary? Does the library do something it doesn't?
Added the fancy buttons ^^ with @jonnitto (thanks!) |
Love that! ❤️ |
todo:
|
TASK: Fix layout and add copy button thanks to @jonnitto TASK: Move buttons together TASK: Add sparkles to ReloadNeosUiButton TASK: Remove dep `react-error-boundary` TASK: More descriptive error in dev context ;) TASK: Style issues
6b80543
to
0f34897
Compare
I would prefer not to have the "fancy" Logo. In slack it is ok, but I would not use it on an official document |
Okay no problemo ^^ |
Co-authored-by: Jon Uhlmann <[email protected]>
@Sebobo ping ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine now by reading <3
Will add the translations via weblate ^^ |
FYI, im currently developing on 8.3 but will cherry-pick this to 7.3 once ready... (webpack and me are never going back together)
The idea is that in case of fatal errors, a fallback error boundary is set at root level, so that less technical people dont report: "my neos just turned white" but can give directly informations about the problems. Users can also easily differentiate problems and if one error keeps turning up.
What I did
How I did it
How to verify it
ever