-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Feature 1796 places autocomplete #2314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to be fantastic @ianguerin, thanks for keeping it all so modular. I encountered some issues:
- When there's no maps key configured in a repository, the ToolbarView breaks and the help tab view doesn't get rendered. The console shows the message:
Error rendering ToolbarView section TypeError: gmaps is null
- With a map key configured, I actually wasn't able to find any places. I only see the message: "No search results found."
I've hidden the viewfinder panel if there is not Google Maps API key now. |
d6ba440
to
8186f78
Compare
Tested with a properly configured API key, it works so well!! 🎉🎉🎉 |
This logic will be removed from Viewfinder in future commit.
Add type safety checks.
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Include additional Google Maps API libraries on page. Create model services to interact with Google Maps APIs.
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Add ViewfinderModel which will be used by ViewfinderView in a later commit. Prediction models can be represented by a PredictionView which are in turn managed as an unordered list.
c8c9199
to
7d77304
Compare
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Includes all changes from individual PRs 1,2,3 and 5 (contents of 4 included in earlier PR) that were individually reviewed.
The goal of this PR is to be tested using a more manual review, by running in various themes.