-
Notifications
You must be signed in to change notification settings - Fork 4
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
On Mobile, tree details continuously refreshes or goes back to map. #133
Comments
@mwpark2014 Could this is related to commit 8b400b81b98dd107bd437c9a8b2757829601cbd7 Does it happen on your phone? |
Ooh, sorry if this is me. I won't be able to fix until late tomorrow. |
@zoobot I checked on my phone though. I'm not sure what the issue you are seeing is. For me, I don't see "continuously refreshes or goes back to map", but I run into a "Something went wrong while displaying this webpage" after staying on the tree details for a while, which is super weird I can only repro this on my phone's chrome browser on android. Not on the mobile emulator in the chrome browser |
Aww frustrating! I can't replicate it using dev tools on desktop. Maybe it has something to do with touch somewhere. I'll look around at the Commits for changes to that as well. |
@mwpark2014 On dev I see "An error occurred. Please see console for more information" on my actual phone. I am going to try and go back through the commits until it stops failing. |
These ones seem fine
This one causes a refresh but don't see an error.
|
I tried reverting and it breaks onclick of the points. |
Can you share what phone and what browser you're using and steps to repro? |
iphone 12 & 5se |
This was first discovered yesterday, right? There was no indicator of this bug before? I connected my android phone using chrome browser to a local machine and I am able to repro the issue Using https://waterthetrees.com/#pos=15/37.7207/-122.43923&id=4469999575224304 Taking a deeper look into the code where this comes up Update: Took a deeper look into the code. It doesn't look to be part of our codebase. I'm fairly certain that this is just general mapbox code that maps out points. Instead, let's focus on investigating what changes could have caused this issue to appear now |
I think this is a back-end change. Do you know what causes these two loading phases @zoobot? I know this wasn't a thing before Confirmed that the phase 2 of loading corresponds with the memory overload |
I think you are right, wtt_server is spiking on load |
Okay, cool. It's getting late, so I'll be hands off for now. I can be available late tomorrow night to help out if necessary. Thanks for finding the issue! I've been thinking that we need to set up monitoring to be aware of these types of issues in the future more quickly automatically. Maybe set up some alarms. It's on my list but was a little further down in priority |
Thanks for your sleuthing on this!! I think you found the issue! |
Temporarily fixes the cpu spike. Need to deal with the tree-sources repo picking up all the trees modified in the db when the city is NOT in sources. |
Check on actual phone
The text was updated successfully, but these errors were encountered: