Added dynamic clock, so when you clock in you can see time passing, basically it works like a digital clock now.
In addition to that, added support for multiple tabs opened with application. What it mean is, user can clock out on one tab and the change after short period of time will appear on rest of tabs as well.
To prevent multiple tabs sending requests I used localStorage to check if one tab is already sending requests.
Added some options to configure clock, like if user wants to even use clock state requests, the interval of time that request is send in and input for user to define url for requests.
Added dynamic clock, so when you clock in you can see time passing, basically it works like a digital clock now. In addition to that, added support for multiple tabs opened with application. What it mean is, user can clock out on one tab and the change after short period of time will appear on rest of tabs as well.
To prevent multiple tabs sending requests I used localStorage to check if one tab is already sending requests.
Added some options to configure clock, like if user wants to even use clock state requests, the interval of time that request is send in and input for user to define url for requests.