matchu/Strict-Pomodoro — pull request #24 by drewfrank (2012-12-06 05:37:20+00:00)
Title: Prevent resetting the break timer, allow early break termination, and allow auto-starting the work phase

Hi,

I made a few small changes that I thought might be of interest:

1. Under current behavior, clicking a running break timer will reset it to its maximum duration. I changed the semantics of the current option so it only resets work timers (no cheating!), and added a new option that makes clicking on a running break timer end the break early.

2. Under current behavior, when the break timer expires the "blocked" sites remain unblocked until the next work phase is initiated. I added an option to automatically start the work phase as soon as the break timer finishes.

Known issues:
- I only added the option strings in English.
- When autoContinue is set, no notification appears at the end of the break phase. I don't know what the behavior should be, here...maybe this is okay.