Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding pause and resume commands #25

Open
iosefa opened this issue Feb 25, 2020 · 1 comment
Open

adding pause and resume commands #25

iosefa opened this issue Feb 25, 2020 · 1 comment

Comments

@iosefa
Copy link

iosefa commented Feb 25, 2020

I find it nice to be able to manually trigger the timer to pause and resume. To this end, we could add pause and resume commands. For example, a command flow could look like:

morning: starts the timer for the day (at the current time)
pause: pauses the timer (the beginning of a break)
resume: resumes the timer (the end of a break)
bye: stops the timer for the day (at the current time.

This can be done with the option to specify breaks as well (or automatically including them --> see #21 ).

@halsk
Copy link
Member

halsk commented Feb 25, 2020

@iosefa
Thank you for suggesting!

I thought it might be demanded. but I don't want to make this time tracking complicated.
I don't think we need very precisely time record.
You can adjust it by applying total (rough) break time at the end of the day.

If you want to implement it, it's welcome.
Technically, this bot is a stateless function and rely on the google spreadsheet.
You need to think about how to store the timer state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants