Improve mobile error message and add retry logic
Summary
The error message shown on a failed request (as below on failed upvote) is not helpful to the user or developer.
Steps to reproduce
- Lose connectivity.
- Try upvote something.
Platform information
Cross-platform mobile.
App version
v3.12.0
What is the current bug behavior?
Generic error is shown to user.
What is the expected correct behavior?
should show an alert / modal to the user informing them of the error (voting could not be done). Also a retry button would be ideal.
Relevant logs and/or screenshots
Possible fixes
-
Add specific error messages to retry failures -
Add a retry button for failed network requests (if possible without significant re-architecture)
/label ~"T - Bug" ~"S - Triage:new"
Edited by Brian Hatchet