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

Opti : Detecting specific part of content changes from modified file #73

Open tu2-atmanand opened 2 weeks ago

tu2-atmanand commented 2 weeks ago

At present the only thing which is not optimized is :

Possible Solution

After the files has been scanned, a function can be created which will basically compare the previous task and the new task detected from the current file. Only if any one of the task content has been changed, then only it will be updated in the tasksData and the board will be refreshed. But this comparing function will be costly.

Need to come up with a better solution where, we can find which part of the file has been changed and whether there is any task or task's content on that line.