diff --git a/README.md b/README.md index 92ea6316..98c11808 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Check out [this project's issues](https://github.com/JamesHawkinss/movie-web/iss ## Rewrite TODO's - [x] Better provider errors (only fail if all failed, show individual fails somewhere) -- [ ] Better search suffix view +- [x] Better search suffix view - [ ] Add back link of results view - [x] Add results list end - [ ] Add Brand tag top left @@ -42,6 +42,6 @@ Check out [this project's issues](https://github.com/JamesHawkinss/movie-web/iss - [ ] Store watched percentage - [ ] Implement movie + series view - [ ] Add provider stream method -- [ ] Better looking error boundary +- [x] Better looking error boundary - [ ] sort search results so they aren't sorted by provider - [ ] Get rid of react warnings diff --git a/src/components/layout/ErrorBoundary.tsx b/src/components/layout/ErrorBoundary.tsx index 5af355e4..fcb386d0 100644 --- a/src/components/layout/ErrorBoundary.tsx +++ b/src/components/layout/ErrorBoundary.tsx @@ -1,3 +1,5 @@ +import { IconPatch } from "components/Buttons/IconPatch"; +import { Icons } from "components/Icon"; import { Title } from "components/Text/Title"; import { Component } from "react"; @@ -42,20 +44,21 @@ export class ErrorBoundary extends Component<{}, ErrorBoundaryState> { // TODO make pretty return ( -
+
The app encountered an error and wasn't able to recover, please report it to the discord server or on GitHub.
+
{this.state.error.name} - {this.state.error.description}
-{this.state.error.path}
+{this.state.error.path}