adrcotfas / Goodtime

:hourglass_flowing_sand: productivity app for Android
Apache License 2.0
960 stars 113 forks source link

[Feature request] Change behavior on session cancel #231

Open KristobalJunta opened 3 years ago

KristobalJunta commented 3 years ago

Currently, sessions that are cancelled while time is still left are counted towards daily stats. E.g. when the timer is cancelled when 10 mins is still left - it still increases the completed sessions counter. While I can see the cases when this is desirable, I can also suggest scenarios where user would not want to count session as completed if the timer didn't reach 0. AFAIR, as per the original Pomodoro flow, the interrupted pomodoros should be "abandoned".

Looking through the issues I've found #181 that suggests this was the behavior in the previous versions. What I want to suggest is adding a setting to control this - either a flag (e.g. "do not count interrupted sessions") or a threshold slider to specify when the session can be considered completed.

adrcotfas commented 3 years ago

Similar to #234.