-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add simple error page - fixes #121 #191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple non-blocking nits, LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nite: this file isn't used anywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thought we might randomly switch between them lmao then I forgot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: there is 1px of nose on the left haha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol dammit that is so annoying. I'll fix before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
web/src/assets/error.png
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this file isn't used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving this over to design folder - just since it's the original asset and I dont wanna lose it just yet .
7f6d752
to
1f78e0f
Compare
1f78e0f
to
2a86023
Compare
Fixes #121
Adds a simple error page (screenshot below) at the root router level. Employs a mini-hack to make the error page appear in the overall Layout. The downside to this hack, which is probably something we should think about, is that if the error occurs in the layout (Root) component itself, we'll have an issue rendering this Error page. We could consider a barebones Error Root component; perhaps one that makes no network calls or does anything fancy... but we can do that later.
This also includes a mechanism for helping users file bugs for issues they experiencing by auto-generating a URL specific to the experienced error that prefills contextual details (browser, OS, Tunarr versions, etc).