Create a task to automatically close timesheets and their associated pomodoros after eight hours. Additionally, I converted the checkin clear command to be a function called by the command to allow for proper state reset on automatic close.
Issues
Closes #386
Type of change
Select one or more of the following:
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other (describe below)
How Has This Been Tested?
I created the new tasks and verified that they properly closed open timesheets and their associated open pomodoros. After this, I began testing edge cases, including when a timesheet was open but no pomodoros were open. I also verified state reset functionality works as expected.
Checklist:
[x] All local commits have been pushed to remote
[x] All changes on the base branch have been merged into this branch, either by rebase or merge
[x] My code is PEP-8 compliant (excluding maximum line length, keep that to 100ish characters)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
Description
Create a task to automatically close timesheets and their associated pomodoros after eight hours. Additionally, I converted the checkin clear command to be a function called by the command to allow for proper state reset on automatic close.
Issues
Closes #386
Type of change
Select one or more of the following:
How Has This Been Tested?
I created the new tasks and verified that they properly closed open timesheets and their associated open pomodoros. After this, I began testing edge cases, including when a timesheet was open but no pomodoros were open. I also verified state reset functionality works as expected.
Checklist: