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

Improve error boundary #1696

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

aristidesstaffieri
Copy link
Contributor

Closes #1595

What
Makes the error boundary close in every scenario
Updates error boundary styles to not overflow header and better display error messages

Why
The navigation never works here because the error boundary sits at a higher level than the router.
Navigation patterns using the global navigation context don't work very well either because of the hash routing model so we would have to reload the window anyways.

@aristidesstaffieri aristidesstaffieri self-assigned this Nov 22, 2024
@aristidesstaffieri aristidesstaffieri requested a review from a team November 22, 2024 19:57
size="md"
onClick={() => {
// https://stackoverflow.com/questions/57854/how-can-i-close-a-browser-window-without-receiving-the-do-you-want-to-close-thi
window.open("", "_self", "");
Copy link
Contributor

Choose a reason for hiding this comment

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

oh interesting!

@aristidesstaffieri aristidesstaffieri merged commit 6ff6938 into release/5.26.0 Nov 25, 2024
3 checks passed
@aristidesstaffieri aristidesstaffieri deleted the chore/improve-error-boundary branch November 25, 2024 16:37
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.

3 participants