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

Created a centralized please command #1537

Merged
merged 10 commits into from
Oct 12, 2024

Conversation

jaresty
Copy link
Contributor

@jaresty jaresty commented Aug 11, 2024

To avoid divergence in the grammar for please commands, it is useful to define a centralized tag and allow it to be overridden in command implementations.

Addresses #1536

@jaresty
Copy link
Contributor Author

jaresty commented Aug 11, 2024

I was able to test this in VSCode and jet brains on the mac but I was unable to test the other implementations to make sure they're working. I could use a hand with testing on other platforms to make sure these things still work, though the implementations appear correct to me right now.

Copy link
Collaborator

@nriley nriley left a comment

Choose a reason for hiding this comment

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

Makes sense to use a tag for this to avoid "promising what we can't deliver". With the exception of the tiny nit I mentioned, the only other thing I can think that might is whether we'd like to continue sending an empty string for "please" by itself or define two voice commands and an action with an optional argument. I don't feel strongly one way or the other.

apps/jetbrains/jetbrains.py Outdated Show resolved Hide resolved
@jaresty jaresty requested a review from nriley August 18, 2024 02:35
apps/jetbrains/jetbrains.talon Show resolved Hide resolved
apps/arc/arc.py Outdated Show resolved Hide resolved
 To avoid divergence in the grammar for please commands, it is useful to define a centralized tag and allow it to be overridden in command implementations.
- It looks like the formatting was more than just adding a comma ; this should be cleaner now
apps/vivaldi/vivaldi.py Outdated Show resolved Hide resolved
@nriley nriley self-requested a review October 12, 2024 21:58
@nriley nriley merged commit 74131e1 into talonhub:main Oct 12, 2024
2 checks passed
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.

4 participants