Skip to content
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

Detect when the explorer is down #187

Closed
Tommytrg opened this issue May 22, 2023 · 1 comment · Fixed by #190
Closed

Detect when the explorer is down #187

Tommytrg opened this issue May 22, 2023 · 1 comment · Fixed by #190
Assignees

Comments

@Tommytrg
Copy link
Member

Tommytrg commented May 22, 2023

Detect when the explorer is down and show a modal message in the app

@aesedepece
Copy link
Member

In order not to make things worse regarding #184, I'd suggest simply showing an alert in any form always that a query to the explorer backend fails or times out.

UI wise, a modal should just work, although my preferred way would be to have a sort of sticky red toast come up from the bottom edge of the screen and stay there with a message saying "You are having connection issues" and no way to close dismiss it. Once a subsequent query succeeds, this red toast would be replaced with another one in green that reads "Connection reestablished!" and allows dismissal.

It can probably made prettier, but this is roughly the idea:

image


image

The dismiss button could also be replaced with the typical [X] thingy.

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 a pull request may close this issue.

3 participants