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

Do not show error box once error is no longer current #202

Merged
merged 1 commit into from
May 9, 2024

Conversation

wwwillchen
Copy link
Collaborator

@wwwillchen wwwillchen commented May 9, 2024

Closes #201.

The previous behavior was overly complicated in trying to show multiple errors, but it resulted in an annoying developer experience where you needed to manually close the red error box (or reload the page) once you fixed the error.

In the vast majority of cases, you're dealing with one error at a time, and if you really have multiple errors at once (e.g. JS errors), then you can still debug them one at a time with the error box still

@wwwillchen wwwillchen requested a review from richard-to May 9, 2024 05:48
Copy link
Collaborator

@richard-to richard-to left a comment

Choose a reason for hiding this comment

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

LGTM - Yeah I didn't even realize you had to close out the error box or that it could show multiple errors.

@wwwillchen wwwillchen merged commit 0969908 into google:main May 9, 2024
3 checks passed
@wwwillchen wwwillchen deleted the error_box_cleanup branch May 9, 2024 15:34
richard-to pushed a commit to richard-to/mesop that referenced this pull request May 13, 2024
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.

Close error box once error is no longer valid
2 participants