Skip to content

Add initial version of navigation skill#113

Merged
Stypox merged 12 commits intoStypox:masterfrom
primesun:navigation-skill
Jan 10, 2023
Merged

Add initial version of navigation skill#113
Stypox merged 12 commits intoStypox:masterfrom
primesun:navigation-skill

Conversation

@primesun
Copy link

See #98

Copy link
Owner

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

Thank you! Code is almost fine, just a few things to fix here and there. I tested and it already seems to work pretty well.

In the future we could also add things like "navigate from A to B". Also, saying "where is A" should just search for "A" in the navigation app, while "navigate to A" should start a journey from the user's current position to A in the navigation app. I don't know if this is doable with Android geo intents, and feel free not to implement these things already in this PR.

@Stypox Stypox force-pushed the navigation-skill branch 2 times, most recently from 2058ba9 to 69b5324 Compare January 10, 2023 18:08
Copy link
Owner

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

I rebased and now all of your commits appear as though they were mine. But your name+email correctly appears in the commit metadata, and I also added "Co-authored-by: primesun <[email protected]>" to commit messages but that didn't solve the issue either...

Anyway, I pushed a few commits to refine some things. "Disabling" fractions in the number parser can be done with .preferOrdinal(true). I also used String instead of NavigationOutput.Data for simplicity. Finally, I made it so that output is requested again to the user in case the place he mentioned could not be understood the first time.

Thank you for this nice skill and for the research about navigation apps!

@Stypox Stypox merged commit 1cb6302 into Stypox:master Jan 10, 2023
@primesun
Copy link
Author

I rebased and now all of your commits appear as though they were mine. But your name+email correctly appears in the commit metadata, and I also added "Co-authored-by: primesun <[email protected]>" to commit messages but that didn't solve the issue either...

No problem, this is one reason why I never use git rebase ;)

@primesun primesun deleted the navigation-skill branch January 12, 2023 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants