Skip to content

feat: added error boundary #1602

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

Merged
merged 9 commits into from
May 20, 2022
Merged

feat: added error boundary #1602

merged 9 commits into from
May 20, 2022

Conversation

Kira-Pilot
Copy link
Member

@Kira-Pilot Kira-Pilot commented May 19, 2022

closes #1013

Kapture 2022-05-19 at 17 39 15

@Kira-Pilot Kira-Pilot requested a review from a team as a code owner May 19, 2022 20:08
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

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

LGTM

@mafredri
Copy link
Member

Sorry for the drive-by comment on a merged PR, just happened across this and wondered if you had considered pre-filling out the email via mailto parameters?

E.g.:

mailto:support@coder.com?subject=Error%20report%20in%20route&body=Strack%20trace:%0a...

Just a thought, if this seems like a good idea I can open an issue about it. 👍🏻

@Kira-Pilot
Copy link
Member Author

@mafredri it's not merged yet! That's a good idea - I'll add this morning.

@mafredri
Copy link
Member

@mafredri it's not merged yet!

Whoops!

@Kira-Pilot Kira-Pilot merged commit d0fd0d7 into main May 20, 2022
@Kira-Pilot Kira-Pilot deleted the add-error-boundary/kira-pilot branch May 20, 2022 14:48
@@ -42,6 +42,7 @@
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "6.3.0",
"sourcemapped-stacktrace": "1.1.11",
Copy link
Contributor

Choose a reason for hiding this comment

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

praise: Thanks for pinning this!

</XServiceProvider>
<ThemeProvider theme={dark}>
<CssBaseline />
<ErrorBoundary>
Copy link
Contributor

Choose a reason for hiding this comment

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

Praise: I love that the ErrorBoundary doesn't have to care about the XServiceProvider, it's good to keep these non-reliant on each other!

</XServiceProvider>
<ThemeProvider theme={dark}>
<CssBaseline />
<ErrorBoundary>
Copy link
Contributor

Choose a reason for hiding this comment

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

Praise: I love that the ErrorBoundary doesn't have to care about the XServiceProvider, it's good to keep these non-reliant on each other!

@greyscaled
Copy link
Contributor

Nicely done 🌮

kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
* added error boundary and error ui components

* add body txt and standardize btn size

* added story

* feat: added error boundary

closes #1013

* committing lockfile

* added email body to help link
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.

Feat: Add UI ErrorBoundary
4 participants