zztin / ctimer

This is a python implementation of a famous time management technique. CTimer helps you keep track of your productivity during the day, and help you set realistic goals for your day.
Apache License 2.0
0 stars 1 forks source link

[Feature Request] Record also the premature ended clocks #23

Closed zztin closed 3 years ago

zztin commented 4 years ago

Is your feature request related to a problem?

At the moment, all premature ended clocks are not recorded. If we record those, we could know the statistics of how much "half clocks" we did, and how should we improve arranging tasks into blocks. It is essential.

Describe the solution you'd like

A few scenarios need to be considered:

  1. The user stopped the clock early because the task has been finished, ask the user to response if the goal has been reached. (count as a complete clock if >18 mins).
  2. The user stopped the clock early because he/she was distracted (doesn't count as a complete clock).
  3. The user closed the window while the clock is ticking (Tkinter GUI termination, need special handling. There's a draft on branch safe_closing Need help...)
  4. The user sends ^C to terminate the (not sure if we can do anything about this)
zztin commented 4 years ago

https://stackoverflow.com/questions/111155/how-do-i-handle-the-window-close-event-in-tkinter

zztin commented 4 years ago

TODO: Add a column to record if a clock has end "as expected." If not, show on stats with a different color.