dilden / work-rest-timer Goto Github PK
View Code? Open in Web Editor NEWA timer that automatically starts when your rest is over.
License: MIT License
A timer that automatically starts when your rest is over.
License: MIT License
A user should be able to select if they would like to change how long their rest is, i.e. 1x, 1.5x, 2x, 3x.
When resetting the timer, sometimes an extra interval is added to rests and active intervals. This only happens after resetting the timer.
Change rest multiplier to slider with intervals ranging from .5x to 5x in steps of .5
Keep it simple but fix obvious issues:
When the rest multiplier is set to "1.5X" the math to calculate ms breaks ever so briefly. For some reason, the .5 is show as the values. Maybe number is being interpreted as a string?
Keep track of when "rest" button is clicked to show splits until timer is stopped and reset.
Show total run time just below main timer. Will have to start a new interval but the code should be the same as countUp().
If a user starts the timer, and adjusts rest multiplier, then when they rest, stopping that rest will cause the rest multiplier to be added when the user begins it again.
Right now, a user has to watch the timer and see if it's going up or down to tell if they're in a rest interval. It'd be nice to change the button text to say "resting" or something similar.
Should be installable as a PWA
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.