-
Notifications
You must be signed in to change notification settings - Fork 220
Adding UX Feedback For Failed Device Connections Over HTTP/s #548
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
Conversation
|
This is a great change! Love it and I need to learn your trick to making animated gif's. I like the yellow you are using on the light theme screenshot, I'd prefer we used that for the dark theme due to its higher contrast ratio. |
danditomaso
left a comment
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.
Looks good, just a couple of changes needed.
|
https://gifox.app :) Worth the 15 bucks, I've used it for years without problem. Good call on the colors, it didn't even cross my mind that the popup BG is white in both modes. They are both yellow now, and I've swapped out |
|
Can you update this branch from |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|


Description
The UI doesn't gracefully handle failed connections via HTTP/s, either due to a bad URL/IP, or TLS issues (the device's self-cert hasn't been accepted). The UI doesn't give you much, in fact it will simply hang forever on connecting if a connection fails for any reason:
This PR adds in visual feedback letting the user know the connection wasn't possible, gives them a common troubleshooting step to try, and points them to the official documentation:
Related Issues
Relates to #316
Changes Made
const device = addDevice(id);under the initial device fetch, preventing the UNK device from being added until contact with the device can be successfully made. Without this, a user can (And will) close the popup window and be confused that the device was "added", yet has no information.Testing Done
Screenshots (if applicable)
Dark Mode:

Light Mode:

Checklist
Additional Notes