streamdeck-clockify icon indicating copy to clipboard operation
streamdeck-clockify copied to clipboard

New button / option to display the total time

Open eXpl0it3r opened this issue 3 months ago • 0 comments

Context

Don't you know the feeling of watching the clock to finally call it a day and go home from school or off work? 😄

Sometimes it would be useful to know how much time has already been tracked for a certain project / client / workspace, so you know if you've already reached the necessary hours or have shifted into the over-time period.

Implementation

This could be either done as a separate action button or as a toggle option in the existing buttons. Since the settings will be roughly the same, the creation of a new button is a bit questionable.

The button action wouldn't do anything. One could consider using it as a means to force a refresh of the data, though that should already be on an interval.

Further extensions could include changing color once a threshold has been reached (e.g. over-time).

The calculated sum should depend on the settings entered. For example, if only a workspace is provided the, the total time tracked within that workspace, no matter what project or client, should be displayed. Or if a client is specified, all items in the workspace for said client is accumulated, no matter under which project. Or if a task name is provided, all the time tracked with the same task name is summed up.

The most common use case would likely be a daily view of said data, however one could consider adding a setting to switch between day / work-week / week / month / quarter / year.

Hopefully this would require few API calls, otherwise a different interval strategy would need to be implemented.

eXpl0it3r avatar Nov 13 '25 15:11 eXpl0it3r