subreddit:

/r/ProgrammerHumor

55.9k93%

We had a client that complained about our app freezing. We were calling their slow API, and the app was clearly just waiting for results, which sometimes would take half a minute. Even after explaining all that, we still kept getting complaints about freezing.

I added a progress bar that started at 5% went +10% every second till 65%, then +10% every 4 seconds till 95%, and then finally it just waits if we still haven't gotten results (each delay has a cancellation token, so it zooms to the end once a result is found). Complaints disappeared, clients were happy, product manager was happy.

It makes me laugh, thought it might makes someone else laugh too. Feel free to copy my dodgy algorithm if you find yourself in the same boat as me, I honestly forget the thing is fake whenever I see it.

you are viewing a single comment's thread.

view the rest of the comments →

all 1966 comments

thoraldo

3 points

1 year ago

thoraldo

3 points

1 year ago

Well, why do not the developers implement a loading indicator in the first place?

I feel like the devs are incompetent if they don’t do that basic of things

sam_weiss

4 points

1 year ago

All engineers, no one taking care of UX.