-
Notifications
You must be signed in to change notification settings - Fork 320
Closed
Labels
a-apiImplementing specific parts of the Zulip server APIImplementing specific parts of the Zulip server APIa-syncEvent queue; retry; local echo; racesEvent queue; retry; local echo; racesbeta feedbackThings beta users have specifically asked forThings beta users have specifically asked for
Milestone
Description
We added a loading indicator in #852 that appears when even queue polling fails with any error.
However, it seems that the loading indicator can stay on even the event queue is doing fine, and does not go away until you get a new event.
I don't have a consistent way to reproduce this, but what I did was basically:
- Leave the app on and lock the phone
- After a while, unlock the phone
- Observe if the loading indicator stays there longer than usual
- Try to do something (like starring a message), and the loading indicator should go away promptly
My guess is that when the event queue goes stale, isLoading
gets set to true. When we do get the new event queue, we do not set isLoading
back to false.
Metadata
Metadata
Assignees
Labels
a-apiImplementing specific parts of the Zulip server APIImplementing specific parts of the Zulip server APIa-syncEvent queue; retry; local echo; racesEvent queue; retry; local echo; racesbeta feedbackThings beta users have specifically asked forThings beta users have specifically asked for
Type
Projects
Status
Done