by jasonlfunk · 7y ago · 0 comments
"Sent X" or "Finished Y!" is sufficient to distinguish a failed ajax call from a successful button press
I remember some years ago when Ubuntu file sync would pop a notification every time a file was synced. That's a good example of what not to do.
UIs in games have this solved in countless of ways.
According to Google that would be around 100ms.
> Guidelines:
> Process user input events within 50ms to ensure a visible response within 100ms, otherwise the connection between action and reaction is broken. This applies to most inputs, such as clicking buttons, toggling form controls, or starting animations. This does not apply to touch drags or scrolls.
https://developers.google.com/web/fundamentals/performance/r...
It might not be fancy but it's simple and helps.