-
Notifications
You must be signed in to change notification settings - Fork 32
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
Remove geocoding completely! #59
Comments
Ameliorates #59 Also don't link IDL script in test env
I am thinking now we should remove geocoding completely. Yes, sometimes it's convenient - but it's not only slow but also inaccurate, and the inaccuracy causes confusion. How about instead, we display a modal "Pick your school"? |
Should we rethink how we're handling different schools, since both SF and Cville are having classes online? It seems like a lot of people (especially in other cities) may be missing out on good learning opportunities by being forced to choose a school. At the same time, the bulk of our students are still physically coming to classes and shouldn't have to deal with spam about classes from another part of the country/world unless they explicitly want them. |
Yes, we should allow people to pick and choose which schools they want to subscribe to. |
I think the geocoding is being inaccurate because the value we use with the If we do decide to take out geocoding completely, it seems to me that the drop down button in the header would suffice for users to choose their school. If the user is a guest, then we can store that school in a cookie (in addition to the session). I think, for now, we should try the geocoding with the 1400 miles and if it continues to be unreliable, then there would be no need to keep it. |
Sounds good to me. Thanks Donald! |
@donaldali @gabe can we close this? |
I got a report from Nene that when she pulled up RS on her phone last week, it opened to the cville site. I don't know if this was due to cookies being set from a previous time but I worry there might still be an issue. Can anyone in SF reproduce?
|
I feel like it's working better in SF with Donald's patch. How about out on the east coast, in a clean browser session, does the app show you Cville? |
We definitely at least should set a timeout for the geocoding < ~10 seconds, because unicorn times out at 15 seconds. |
if google doesn't respond within 1 second for geocoding, it's probably an issue, so it'd be better to retry once or twice and then fail fast, rather than waiting for it to time out. |
I'm not sure I understand. Right now we're not timing out the google call, google isn't failing it's just taking longer than 15s to respond. So I propose we do timeout the google call. |
If the google call is really taking longer than 15s to respond, then On Thu, Oct 8, 2015 at 5:05 PM, Gabe Kopley [email protected]
|
Sounds good. |
Currently we are geocoding venues in our test suite through google's API.
There are several ways to fix this.
We can stub geocoding in test everywhere.
Or maybe we don't need to geocode venues automatically.
The text was updated successfully, but these errors were encountered: