Commit graph

26 commits

Author SHA1 Message Date
Christopher Thompson
dd3031fcc3 Factor out countdown timer (and add another docstring) 2020-10-10 00:14:22 -04:00
Christopher Thompson
4e39644b00 Wrap long line 2020-10-10 00:13:40 -04:00
Christopher Thompson
5bcad6a305 Add more docstrings and improve quit_prompt 2020-10-10 00:13:16 -04:00
Christopher Thompson
14e136f80c Add audio prompt for times up 2020-10-09 23:44:46 -04:00
benjamin melançon
168cc371cb Write human-readable log in Eastern Time 2020-07-15 10:09:58 -04:00
benjamin melançon
8b8d759281 Set work and break minutes to real values 2020-07-06 09:40:55 -04:00
benjamin melançon
cc94fab95f Don't try to record pomodoro if we're in a break (start set to none)
Also talk a bit more in the CLI, more feedback
2020-07-06 09:40:08 -04:00
benjamin melançon
bbf11c1bb1 If less than a minute, go straight to quit prompt without offer to record partial time 2020-07-06 09:29:28 -04:00
benjamin melançon
ce5146b70b Add a break following a completed pomodoro 2020-07-06 09:28:57 -04:00
benjamin melançon
d7e9c6c2ef Use central string minutes formatting function in more places 2020-07-06 09:27:57 -04:00
benjamin melançon
5d5280cab2 Tweak outputted terminology 2020-07-06 09:27:34 -04:00
benjamin melançon
fd9128bd5e Remove unneeded default value 2020-07-06 09:27:00 -04:00
benjamin melançon
e7ff2c7642 Add minimum time for interrupted to be recorded & document our constants 2020-07-06 09:26:43 -04:00
benjamin melançon
33390b74b7 If keyboard interrupt (control c) is used, give quit prompt even if record that last partial pomodoro 2020-07-06 08:52:08 -04:00
benjamin melançon
cb333c4bc5 Fix linebreaks 2020-07-06 08:48:24 -04:00
benjamin melançon
da3426e196 Run function once for cleaner statements 2020-07-06 08:45:43 -04:00
benjamin melançon
42191e8927 Get our log-writing on 2020-07-06 08:43:56 -04:00
benjamin melançon
ee762c15a2 Fix appending to CSV and start working on detailed log 2020-07-05 23:40:12 -04:00
benjamin melançon
57ec262f7d Add the ability to quit gracefgully if no longer tracking time 2020-07-05 21:45:53 -04:00
benjamin melançon
501784c562 Fix missing info for when interrupting pomodoro 2020-07-05 20:50:42 -04:00
benjamin melançon
62560ad8db Put everything in a loop and try continue to not ever end up in the else? 2020-07-05 19:22:29 -04:00
benjamin melançon
059956c589 Use most recent plan/task for placeholder, and make sure we always return a string 2020-07-05 19:05:40 -04:00
benjamin melançon
3e8c348fe1 Should be working! 2020-07-05 16:00:19 -04:00
benjamin melançon
3d097e6084 Definitely a logic & more error in here, but we're close 2020-07-05 15:41:04 -04:00
benjamin melançon
3d2e85f2be Throw in a couple working prompts, no variables yet 2020-07-05 13:26:38 -04:00
benjamin melançon
232a94497a Start fumbling our way into a script 2020-07-05 12:55:18 -04:00