mastodon-ios icon indicating copy to clipboard operation
mastodon-ios copied to clipboard

Too much lag on button presses leads to retries

Open Scenario opened this issue 2 years ago • 1 comments

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

Scenario avatar Dec 13 '22 22:12 Scenario

Wrong repository → https://github.com/mastodon/mastodon-ios

Der-K-2000 avatar Dec 13 '22 22:12 Der-K-2000