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

Add Shortcut for Session Button Extension #227

Open
erauner12 opened this issue Oct 16, 2022 · 5 comments
Open

Add Shortcut for Session Button Extension #227

erauner12 opened this issue Oct 16, 2022 · 5 comments
Labels
enhancement New feature or request help wanted Pull requests fixing this are encouraged

Comments

@erauner12
Copy link

erauner12 commented Oct 16, 2022

Could you please create a shortcut to execute Session Button (similar to how toggl and Clockify are executed)

Here is the extension

Here is an x-callback example:

session:///start?intent=${title}&categoryName=${projectName}`

image

@erauner12
Copy link
Author

After thinking on it. I think the whole process of clicking the button from the extension can be circumvented if a key binding would just send the task specific data directly to the x-callback-url.

@mgsloan
Copy link
Owner

mgsloan commented Oct 21, 2022

I'd accept a PR adding such functionality. If the button has a distinguishing class (right click it and click "Inspect" to see it) then it could be as simple as adding it to the list here

@mgsloan mgsloan added enhancement New feature or request help wanted Pull requests fixing this are encouraged labels Oct 21, 2022
@erauner12
Copy link
Author

Great! I'll try and work on this. Another question, is it possible to tie another action to this?

I'd like to tie a label to a task of doing that I have selected to start a Session.

@mgsloan
Copy link
Owner

mgsloan commented Oct 28, 2022 via email

@erauner12
Copy link
Author

You could add such a thing in a locally modified version, though
Will probably give this a shot as well!

I think I'll start with this label adding action as a first run at it to see how useful it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Pull requests fixing this are encouraged
Projects
None yet
Development

No branches or pull requests

2 participants