codeforamerica / MuniciPal

:speech_balloon: Consulting city-dwellers about legislation near them.
22 stars 14 forks source link

Google places autocomplete #109

Closed mockra closed 9 years ago

mockra commented 9 years ago

This adds autocomplete/typeahead to the address form on the homepage using the google places api. We'll most likely want to update the styling for the dropdown list to fit with the application.

This addresses issue #56

Documentation: https://developers.google.com/maps/documentation/javascript/places#loading_the_library

mockra commented 9 years ago

I didn't have any issues setting up the development environment, but ran into a few issues with the test suite. It looks like there are a few specs for classes that don't exist. After commenting out those specs, I was able to run the suite, but most of the specs were failing.

I wasn't sure if this was an issue with my test environment, or if the specs weren't working in this branch.

tbuckl commented 9 years ago

@mockra yeah, sorry, those tests are stale.

mockra commented 9 years ago

@buckleytom Ah no worries, I should have taken a quick look at the specs. Thanks!

tbuckl commented 9 years ago

this is awesome @mockra! thanks!