mastodon-ios
mastodon-ios copied to clipboard
Too much lag on button presses leads to retries
Steps to reproduce the problem
Tap the Follow or Request button to follow someone. Same with the Favorite button.
Expected behaviour
The state should be confirmed immediately
Actual behaviour
Network lag leads you to think you didn’t tap it
Detailed description
I suspect what’s happening here is that these buttons don’t update until the app gets a reply from the server. This lag leads to impatient double taps, which then reverses the user’s intended action. It is better to change the button state immediately in anticipation of success, then update it later if the call failed. Or, disable the button while the network call is in flight.
Specifications
Latest iOS app
Wrong repository → https://github.com/mastodon/mastodon-ios