tobimori / streamdeck-toggl

⏱️ Make time tracking a 🍰 piece of cake, with Toggl Track and Elgato Stream Deck (Toggl Track integration for Stream Deck)
MIT License
120 stars 39 forks source link

Better support for empty task descriptions #17

Closed rallman closed 3 years ago

rallman commented 3 years ago

If the activity name is not defined, this allows any description for the same workspace and project to be enabled.

I have a well-defined list of projects but the actual activities vary wildly throughout the day. The workflow that has worked well for me is to start/stop a task using the stream deck and launch the toggl UI while the task is in progress or later to fill in the details. Previously, if you kept the Entry Name of the Stream Deck button empty and then modified the description in the toggl UI, the button would no longer be associated with the running task.

rallman commented 3 years ago

Fixes #5. At least the task name part. I can try adding support for an empty project as well.

rallman commented 3 years ago

Empty projects are now working. This seems to now address most or all of the #5, #8, #9, and #15.

A button without a project or description will be active for any running task for the workspace, thereby acting as a stop all.

tobimori commented 3 years ago

Hi. Thanks for your efforts of writing this pull request. Sorry for taking so long to reply. I'm currently in the process of rewriting the whole plugin with React and TypeScript and this bug will definitely be fixed, thanks for your contribution!