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

Improve UX flow when network connection errors #113

Closed
vanch3d opened this issue Sep 15, 2023 · 0 comments · Fixed by #117
Closed

Improve UX flow when network connection errors #113

vanch3d opened this issue Sep 15, 2023 · 0 comments · Fixed by #117
Assignees
Labels
bug Something isn't working
Milestone

Comments

@vanch3d
Copy link
Contributor

vanch3d commented Sep 15, 2023

Expected behaviour

When connection to the backend cannot be secured because of network errors, the user should be notified appropriately and certain operations (like creating a new adapter) should be restricted

Actual behaviour

At the moment, most of the error handling has been focusing on receiving errors (4xx or 5xx) from the backend. But the cases where the requests cannot even be sent due to network issues have not been covered.

The frontend, being a Single-Page Application and using React Query caching facilities, continues to render relatively appropriately. Some of the icons are not properly loaded but the caches still provide all the information to populate the React pages.

It includes accessing and interacting with forms, even if it means sending data through requests that are not operational.

There is not a single feedback about the connection status to the user until a cache becomes "stale" is fetched again and the failure of X retries triggers the error

To Reproduce

Access the frontend, navigate through the different pages (to make sure all the requests are accessed once and cached) then shut the backend down.

Alternatively, use the browser throttling capability to simulate "offline" behaviour.

Details

Originally posted by @vanch3d in #95 (comment)

@vanch3d vanch3d added the bug Something isn't working label Sep 15, 2023
@sfrehse sfrehse added this to the 2023.6 milestone Sep 18, 2023
@vanch3d vanch3d self-assigned this Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants