interval timer (start another timer when one expires)

Registered by The Dave

An interval timer function would all the user to define timers with different spans to run in sequence. For example, in interval training an athlete would run for 10 minutes then rest 1 minute, or the Pomodoro time management technique of working 25 minutes and playing for 5.

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
The Dave
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for 2.2
Implementation:
Implemented
Milestone target:
None
Started by
Kenny Meyer
Completed by
Kenny Meyer

Whiteboard

Iteration 1
Add two optional fields to the Timer Presets:
* Next Timer (dropdown of defined Presets) - When this timer completes, trigger "Next Timer" to start. [DONE]
* Auto Start - This would automatically start the "Next Timer" when this one completes, or restart this timer if no "Next Timer" is assigned. [DONE]

Also, add a "Start %s" button to the timer complete notification and the panel button to start the Next Timer when "Auto Start" is not selected.
Additionally, start the next timer when pressing the panel icon when "Auto Start" is not enabled. [IN PROGRESS]

Finally, add logic to the timer complete method to check the "Auto Start" and "Next Timer" fields, and:
* If AutoStart and NextTimer, then display notification and start next timer. [DONE]
* If ! AutoStart and NextTimer, then display notification with "Start Next Timer" button. [DONE]
* If AutoStart and ! NextTimer, then display notification and restart timer. [NOT IMPLEMENTED]
* If ! AutoStart and ! NextTimer, then do current behavior. [DONE]

Iteration 2
* Review and internationalize strings [NOT STARTED]
* Modify timer properties in the "Manage Presets" dialog [NOT STARTED]

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.