ivan-lednev / obsidian-day-planner

An Obsidian plugin for day planning with a clean UI and a simple task format
MIT License
1.93k stars 485 forks source link

Tasks Plugin Compatibility #427

Open rchaklashiya opened 2 months ago

rchaklashiya commented 2 months ago

Describe the bug If I attempt to edit a task with the tasks plugin, because I am filtering by hashtag (e.g. #task) this means that when I use the tasks plugin modal to edit the task the #task will move to the front of the task (i.e. right next to the checkbox). However, what this means is that even if I initially put the time (e.g. 10:00 - 11:00) right next to the checkbox, as soon as I edit the task with the tasks plugin modal, the time will move to AFTER the #task. This makes it no longer show up in the Day Planner. Basically, what happens is this:

BEFORE editing with Tasks plugin modal:

AFTER editing with Tasks plugin modal:

To Reproduce Steps to reproduce the behavior:

  1. Create a task in a journal page
  2. Add the time to the task so that it appears in the Day Planner
  3. Set the Tasks plugin to only detect tasks with a certain hashtag
  4. Add that hashtag to the task
  5. Now the time will be moved to after the hashtag filter and task won't appear in Day Planner

Expected behavior I want to be able to use the Tasks plugin modal and the Day Planner simultaneously.

Screenshots Before editing with Tasks plugin modal image After editing with Tasks plugin modal image