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

Drop short sessions from the log file #685

Merged
merged 3 commits into from
Feb 20, 2021
Merged

Drop short sessions from the log file #685

merged 3 commits into from
Feb 20, 2021

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Feb 20, 2021

There is no point logging a writing session where the user just opened the project and closed it again without making any changes.

This PR adds a check to the session entry code skip appending a line if the session was shorter than 5 minutes and no word count difference was recorded. Both conditions must be true.

@vkbo vkbo added this to the Release 1.1.1 milestone Feb 20, 2021
@vkbo vkbo merged commit 24eef2d into main Feb 20, 2021
@vkbo vkbo deleted the session_log_short branch February 20, 2021 16:35
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

Successfully merging this pull request may close these issues.

None yet

1 participant