You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clockify uses two classes to activate timers:
'small clockify-button-inactive': to activate
'small clockify-button-active': to deactivate
I wonder if there is a way to make this more function more generic. I've done some tests myself (Sorry, I don't know any javascript - but the code is clear enough that I was able to make it work).
withUniqueClass(requireCursor(), ["small clockify-button-inactive","small clockify-button-active","toggl-button"], all, click);
The line above seems to do the work and should keep the compatibility with toggl. I also don't see clockify buttons on the detailed view, so maybe this is the only change necessary? Of course, the name of the function could be changed throughout the script. I'm also not sure how this would impact other functions.
The text was updated successfully, but these errors were encountered:
This is a feature request.
I'm currently using clockify to perform time tracking.
'Shift-Enter' activates and deactivates the time tracking in tasks that do not have a link. But I noticed that 'shift+c' is calling togglButton:
todoist-shortcuts/src/todoist-shortcuts.js
Line 745 in 6aea37f
Clockify uses two classes to activate timers:
'small clockify-button-inactive': to activate
'small clockify-button-active': to deactivate
I wonder if there is a way to make this more function more generic. I've done some tests myself (Sorry, I don't know any javascript - but the code is clear enough that I was able to make it work).
withUniqueClass(requireCursor(), ["small clockify-button-inactive","small clockify-button-active","toggl-button"], all, click);
The line above seems to do the work and should keep the compatibility with toggl. I also don't see clockify buttons on the detailed view, so maybe this is the only change necessary? Of course, the name of the function could be changed throughout the script. I'm also not sure how this would impact other functions.
The text was updated successfully, but these errors were encountered: