add cancel buttons
fix missing <
if #pomoCancel, replaceWith original dd
add activeCancel
just call it result
do not use Event's pomo, use pomoSec instead. This way, Event's pomo will be counted as time spent in rest, while pomoSec is used for timing rest time
make use of pomoSec
increase pomoSec by 1 every second
pomoSec becomes 0 until next time
increase pomoSec
pomoSec equals 59
add activeMode
the idea is that if the transition is true, the user will be notified via an alarm until they stop the alarm to transit to the next phrase. That way, chronotask will be able to keep track of how many seconds is spent in both active and pomo rather than arbritary transition to the next phrase at the end of the configured time limit for rest period and active period.
add click events for #rest and #work
rename #pomo to #skip
change id name from #pomo to #skip
if transition is true, then we should be able to click rest
add template function transition to return the value of transition
skips become work
dd transition = false to pomoMode function