-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trips not sorted and duplicate trips in the labels screen #658
Comments
Based on the duplicate trips, I wonder if the issue is related to #654 and we are just creating new confirmed trips from the expected trips every time. |
Looking at the stats for the user who reported the problem, #654 is still an issue, but does not seem to be related to the problems with repeated trips.
|
@GabrielKS can you take this one? I have shared the user phone logs with you. |
More testing results from this user:
|
Follow-up report by @allenmichael099 with some details on reproducibility
And with that, it is 100% reproducible. Simple fix is to create a loading screen, or to disable the button while loading |
we may want to use a less heavy-handed technique in which we don't block the entire screen, only disable the refresh button. Or show the progress of the download somewhere or ??? But we should change that handling in a way that is consistent across the diary and the infinite scroll list, so deferring that for now. |
there is still a small window in which there can be a race. we apparently don't start loading from the server as soon as the infinite scroll screen loads, so we don't start loading immediately. So then people can press the button and end up with dual copies. |
This delay happens on reload as well. I press the reload button, there is a delay until the "reading from server" overlay and the delay is long enough to press the button again. This only happens on the physical device, though - the emulator is almost instantaneous. |
I will bump up the |
after adding the additional timing statements, I don't see the delay even on my personal phone any more. Will push this to production later today and wait to see if it recurs... |
Trips are out of order (Jul then jump to Aug then back to Jun).
The same user also reported, and I verified, that they see duplicate trips.
Another user on Friday also reported issues with trips that were not in the correct order.
The text was updated successfully, but these errors were encountered: