Skip to content

feat: added error boundary#1602

Merged
Kira-Pilot merged 9 commits into
mainfrom
add-error-boundary/kira-pilot
May 20, 2022
Merged

feat: added error boundary#1602
Kira-Pilot merged 9 commits into
mainfrom
add-error-boundary/kira-pilot

Conversation

@Kira-Pilot

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

Copy link
Copy Markdown
Member

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

@BrunoQuaresma BrunoQuaresma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mafredri

Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

@mafredri

Copy link
Copy Markdown
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
Comment thread site/package.json
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "6.3.0",
"sourcemapped-stacktrace": "1.1.11",

Copy link
Copy Markdown
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!

Comment thread site/src/app.tsx
</XServiceProvider>
<ThemeProvider theme={dark}>
<CssBaseline />
<ErrorBoundary>

Copy link
Copy Markdown
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!

Comment thread site/src/app.tsx
</XServiceProvider>
<ThemeProvider theme={dark}>
<CssBaseline />
<ErrorBoundary>

Copy link
Copy Markdown
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
Copy Markdown
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