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

Bug: Word Sprint includes all words in note at start of timer #53

Closed
SlRvb opened this issue Oct 10, 2022 · 8 comments
Closed

Bug: Word Sprint includes all words in note at start of timer #53

SlRvb opened this issue Oct 10, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@SlRvb
Copy link
Contributor

SlRvb commented Oct 10, 2022

When trying to write in a note that already has the words, Word Sprint will add the total of the notes words into the word count when starting the sprint instead of only the ones written for this sprint.

Example of error:
Obsidian_fGQSj2WIY6

@wagewarsgetrichdiegoncharov

I'm also having this issue.

@dzhuyx
Copy link

dzhuyx commented Mar 28, 2023

Same here. Any solutions?

@kinabalu
Copy link
Owner

Can probably have the plugin check for text already and add it for removing from total. Will have to look into what the API provides and maybe there's a better way of calculating number of words written during that time period

@jmangelson
Copy link

I am having the same problem. Really excited about the plugin otherwise.

Looking at the code in main.ts (line 349) it looks like the previous word count is being stored (or at least potentially stored) at the beginning of the sprint.
Is the bug that this if statement is failing?

SprintRun.ts (lines 140-141, 102-113, 218) seems to implement the needed functionality already.

@kinabalu Is it possible to check if the condition for the if statement that leads to main.ts (line 349) is evaluating to False?

@kinabalu kinabalu self-assigned this May 24, 2023
@kinabalu kinabalu added the bug Something isn't working label May 24, 2023
@jmangelson
Copy link

Hi, Is there any update on this?

I really like the plugin, but would like to continue editing a single document for multiple sprints.

@Drakemoor
Copy link

Is there any solution for this?

kinabalu added a commit that referenced this issue Jul 20, 2023
@kinabalu
Copy link
Owner

this has been fixed in 0.2.5

@AaronKnowls
Copy link

this has been fixed in 0.2.5

Thank you so much, kinabalu!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants