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

Double scanning issue, when task edited from board #84

Open
tu2-atmanand opened this issue Oct 31, 2024 · 0 comments
Open

Double scanning issue, when task edited from board #84

tu2-atmanand opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working optimization The algo/code can be optimized. A better approach

Comments

@tu2-atmanand
Copy link
Owner

tu2-atmanand commented Oct 31, 2024

Another optimization which can be done, is when you are in real-TIme Mode and after you make any changes inside the Task Board, these changes gets written to a MD file and that file is again gets scanned and the REFRESH_COLUMN again happens. So this two operations can be avoided by simply coming with better code.

Possible Solution

Dont scan the files which has been updated right after any operation done through board.

Also, I think, once i use process() function instead of the modify(), then the issue might get solved automatically, since, the focus is not getting changed this way. But, still cannot be the solution, because this issue mainly arises when something is getting updated in the markdown file and also the focus change is detected.

@tu2-atmanand tu2-atmanand converted this from a draft issue Oct 31, 2024
@tu2-atmanand tu2-atmanand added bug Something isn't working optimization The algo/code can be optimized. A better approach labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working optimization The algo/code can be optimized. A better approach
Projects
Status: Can be Implemented
Development

No branches or pull requests

1 participant