devv-work / timeato

Track productivity, allot time for focusing on tasks, and increase your effectiveness during study sessions
https://timeato.up.railway.app/
7 stars 1 forks source link

timer bug when timer state is 00:00 #86

Closed schneedotdev closed 1 year ago

schneedotdev commented 1 year ago

Change default Pomodoro state to 25:00, Protect states when the timer is 00:00

When entering the task endpoint, the timer defaults to 00:00, this results in a bug when a user attempts to click the start/stop button.

On page load.

Screen Shot 2022-09-06 at 1 59 39 PM

On subsequent start/stop clicks

Screen Shot 2022-09-06 at 2 12 40 PM

This issue happens whenever the state of the timer is at 00:00 and a user attempts to click the start/stop button. We need to protect the timer from running when the timer state is at 0.

Brandon-Schefstad commented 1 year ago

Current PR #83 addresses this!