MayGo / tockler

An application that tracks your time by monitoring your active window title and idle time.
http://maygo.github.io/tockler/
GNU General Public License v2.0
874 stars 103 forks source link

[Feature] add pomodoro sessions #229

Open noor-tg opened 2 years ago

noor-tg commented 2 years ago

hey, first thank you for making this amazing app.

Two requests

thank you.

MayGo commented 2 years ago

Hi, thanks! Nice to hear some feedback!

I have thought about adding a Pomodoro timer. Tried to use it at some point, but it does not work for me. If I am in a flow, then I want to continue. And I guess my main problem comes with that. If I ignore that the timer is 0 and push through that, then what should happen?

Have you tried existing functionality for emulating Pomodoro?

Tockler has Session time that is also represented as a blue circle.

Screenshot 2022-07-23 at 10 55 47

The default session time is 60 minutes. But this can be set to 25 minutes:

Screenshot 2022-07-23 at 10 42 35

And if 25 minutes is over you will get a small notification where the Tockler tray icon is:

Screenshot 2022-07-23 at 11 02 06

If needed I can add the Native OS notification option also.

What is needed to make existing functionality better for you? Do you want to manually start Pomodoro timer?

For the heat map, I could make it with "sessions" count, which is the same as pomodoros if taken proper rest.

noor-tg commented 2 years ago

how is session activated ?

noor-tg commented 2 years ago

For the heat map, I could make it with "sessions" count, which is the same as pomodoros if taken proper rest.

yes this is fine .

thank you.

MayGo commented 2 years ago

how is session activated ?

The session is calculated from your online time. If you have taken minimal break time, it will start a new session from the next online time.

noor-tg commented 2 years ago

The session is calculated from your online time. If you have taken minimal break time, it will start a new session from the next online time.

some time I don't use internet for entire day. so how to calculate my sessions then ? is there option to allow start session manually ?

MayGo commented 2 years ago

There is no manual session start. Tockler shows what you have actually done on your computer. It has crossed my mind to add something that account as work if you are not on computer, eg: phone call, a meeting, reading a book. There is a option to add task afterwards, that can extend even offline/away time. (Usually if you start a task and leave computer then it will cut that task, so it would only take into account the online time.

But if we talk about pomodoro timer. Would you start it in computer and then go away from it? And expect some kind of alarm to fire?

noor-tg commented 2 years ago

the heat map can be set based on number of completed tasks per day instead of sessions

noor-tg commented 2 years ago

There is no manual session start. Tockler shows what you have actually done on your computer. It has crossed my mind to add something that account as work if you are not on computer, eg: phone call, a meeting, reading a book. There is a option to add task afterwards, that can extend even offline/away time. (Usually if you start a task and leave computer then it will cut that task, so it would only take into account the online time.

But if we talk about pomodoro timer. Would you start it in computer and then go away from it? And expect some kind of alarm to fire?

yes, for example when training.

is online means (connected to the internet or any network) ? or just is active and opening some application ?

MayGo commented 2 years ago

I think I can add an option to the task, that says that it will be continuous. But I don't think I will add a pure Pomodoro timer. Online means that you are active on the computer, doing something. Perhaps should rename Online to Active.

noor-tg commented 2 years ago

okay, add it as you see fit.