Search and navigate intent for google maps #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "maps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It might be useful to only run this for text which resembles a location. However, it can currently run for any text input in the search bar
If AIO launcher has something like google ML kit entity extraction, it would be awesome to get context on the data and invoke certain scripts in the search bar.
ML Kit Entity Extraction
A good idea would be to use prefixes. For example, you can print the result only when the string starts with the word "navigate" or "nav". This will allow the user to type "navigate paris" and only then get the result. The same can be done with your QR and Share scripts. Otherwise now if you turn them all on, the search results will be constantly cluttered with meaningless results.
If you're not sure how to do it right I can modify your scripts myself.
Also, try to end script names with their type if possible. In this case it is better to make the name equal to "maps-navigate-search.lua".
Nevermind. I came up with a more elegant solution for prefixes :)