tu2-atmanand / Task-Board

An Obsidian plugin to view and manage all your task in a much more efficient Kanban Board format. Easily manage your tasks throught your vault.
https://tu2-atmanand.github.io/task-board-docs/
GNU General Public License v3.0
5 stars 0 forks source link

Double scanning issue, when task edited from board #84

Open tu2-atmanand opened 2 weeks ago

tu2-atmanand commented 2 weeks ago

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.