nhannht / obsidian-smart-gantt

https://obsidian-smart-gantt.pages.dev
MIT License
17 stars 2 forks source link

Cannot restrict Gantt source #7

Open gayleno opened 1 month ago

gayleno commented 1 month ago

I have a workflow using the Tasks plugin with the Day Planner plugin, so I have numerous tasks in my vault without a date attached, just a time. Any new tasks added through the Day Planner plugin use the following format, which I will refer to as format A: image

All of my other tasks use this format, or format B: image

In testing, I am receiving the following error, with no logs in my console: image

I have chosen Current File, as you can see here: image

I have determined that having any tasks in my vault with format A causes the error, regardless of Current File being chosen as the source. I have also tested changing the directory, with no different results: image image

When I remove the tasks using format A from my vault, it stops throwing an error: image

Additionally, as you can see in the screenshot, the tasks under format B show as duplicates, without reading the time duration properly. I would like to make a feature request that the plugin uses the Tasks formatting, as Tasks is the 5th most downloaded plugin in the community. Compatibility with this plugin will surely boost buy in from other users.

A request for this compatibility has already been made here: https://github.com/nhannht/obsidian-smart-gantt/issues/2

The code at the following link has been developed previously by another author to solve this issue, as noted by jalilsharif in the previous issue post: https://github.com/LynnXie00/ObsidianGanntChartfromTasks/blob/39aae2e42dd0609f03a0eb9539a9853dd786cc31/Research%20Gannt.md

nhannht commented 2 weeks ago

so this is related to day planner , another plugin.