adrcotfas / Goodtime

:hourglass_flowing_sand: productivity app for Android
Apache License 2.0
941 stars 111 forks source link

Feature Request: Separate Label times when changed middle of a session (SubSession logic) #328

Open asandikci opened 7 months ago

asandikci commented 7 months ago

Example:

You started timer for X label as 25min session. Then switched to Y label after 5 min. After you ended session in 20th minute (or ended session until the last minute, does not matter)

Expectation:

Statistics should be added as 5min X and 15min Y (as separate subsession)

Situation:

Currently, app counts this as 20min Y (one session) and does not support subsessions

Suggesstions:

Use Case:

You should do something in a certain minutes but jobs (labels) may be changed. If you abort(end) the current section and start new one with a label timer will be reset. This is not suitable for me. I need this feature for my workflow!

Implementation Ideas/Notes:

IF switch enabled in settings WHEN user changes a label WHILE counter is on (or paused) CREATE a subsession in history (like 1.1) (this subsession should be added to statistic charts but NOT as total sections) and CHANGE start value of second(current) subsession(1.2) in background (but do not reset counter in UI). DO this until our real session ends.

Notes:

asandikci commented 7 months ago

Note that: this feature request is not related with #277 (subsession is not equal to sublabels)