Skip to content
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

Use static data for search functionality. #169

Merged
merged 1 commit into from
May 23, 2021
Merged

Conversation

hblumberg
Copy link
Collaborator

This PR switches to using static data for the search functionality. So that we don't have to rely on Google Geocoder or Pelias, I also switched us back to only supporting MA ZIP codes. (The static mapping between MA ZIP codes and latitude / longitudes already exists.)

Test Plan:

  • Ensure search functionality works as usual for ZIP codes in MA.
  • Ensure an error is displayed if anything other than an MA ZIP code is entered.

Copy link
Member

@mzagaja mzagaja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works locally for me, so ready to merge!

Base automatically changed from hb/add-json to static-site May 23, 2021 18:38
@hblumberg hblumberg merged commit 65461de into static-site May 23, 2021
@hblumberg hblumberg deleted the hb/search-static branch May 23, 2021 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants