ivan-lednev / obsidian-day-planner

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

Tasks under different header missing from timeline #614

Open ribena75 opened 2 weeks ago

ribena75 commented 2 weeks ago

Please check that this issue hasn't been reported before.

Expected Behavior

Before the update, any tasks under a different header to the Planner Heading still appeared at the top of the timeline (in the same way that tasks with no set time do); but now they no longer appear here

Current behaviour

redacted

Steps to reproduce

Create a different heading

Day planner

Screenshot 2024-11-04 103017

Which Operating Systems are you using?

Obsidian Version

v1.7.4

Possible solution

No response

ribena75 commented 2 weeks ago

edited current behaviour example:

Screenshot 2024-11-04 102645

RealGreekGeek commented 2 days ago

+1 Under MacOs with v1.7.7. Also, for me it stopped working compeltely, I cannot even add anything to my Day planner anymore...

ivan-lednev commented 2 days ago

Hello, @RealGreekGeek, could you be more precise? What do you see when you open the timeline? What happens when you try to edit tasks? Do you see any errors in the console (Ctrl + Shift + I)?

RealGreekGeek commented 2 days ago

Hello @ivan-lednev , thank you for your quick response. I love day planner and hope I can use it soon again.

Let me explain in more detail: I use Day Planner with Daily note. MacOs Obsidian v. 1.7.7, Day Planner 0.26.2. I reference to the tasks in the following way: #todo and -"! Daily Notes" in the filter.

Expected Behavior

Open Day Planner side bar (the timeline). a) Drag and drop tasks, stored in any daily note inside my Daily note folder, that is scheduled to the day. b) Create new time slots, which then appear under the "Day planner" heading in my daily note (as indicated in the settings). (This is how it worked before)

Current behavior

Open Day Planner side bar. a) No tasks show up. I switch to different days. On older days, the tasks do show up, but upon editing the day they disappear as well. Sometimes, for no apparant reason, the tasks do show up even today (I really have no idea why), but they disappear upon editing. b) I try to create a new time slot for today in the time line (by dragging). It disappears immediately. Instead "Changes saved. Undo" appears. I type a new time slot under the heading "Day Planner". It does not appear in the time line. I do not see any errors in the console concerning this plugin (only for the pandoc plugin, which I will look for now...).

ivan-lednev commented 2 days ago

@RealGreekGeek, I tried reproducing this, but everything works.

Please try to create a sandbox vault, enable only day planner there and repeat the steps you described. If the plugin works as expected in a sandbox, then share your config here so I can debug this: <your-vault-path>/.obsidian/plugins/obsidian-day-planner/data.json. This might be some specific Mac thing, in which case, I'm helpless (I have Windows).

RealGreekGeek commented 2 days ago

@ivan-lednev I recreated it in a Sandbox. I figured out, why b) did not work (it was a typo, I had "Day planner" in the settings instead of "Day Planner").

So a) is left, unfortunately. It did not work in the Sandbox either. This is what it looks like now:

Bildschirmfoto 2024-11-20 um 11 17 37

The following is my configurations in my "usual" Vault:

data.json

The following is my configurations in my Sandbox Vault:

data.json

I would be thankful for any help you can offer me!

ivan-lednev commented 2 days ago

Well, I see that you've excluded the daily notes folder from Dataview filter: image In this case only the stuff under the Day planner heading is going to show up.

RealGreekGeek commented 2 days ago

Okay, thank you so much! I switched this now: Bildschirmfoto 2024-11-20 um 11 35 42 Should it show up now?

ivan-lednev commented 2 days ago

Well, no, because the filter gets applied to all the files except for the stuff under the heading in daily notes that you've specified.

It's this way because people complained a lot about seeing tasks outside the planner heading. If you want to see those, you should explicitly include daily notes in your filter, e.g.: #todo and "Daily Notes"

RealGreekGeek commented 2 days ago

EDIT:

First of all, thank you so much for your patience @ivan-lednev . I am really sorry for my incompetence and I really love this plugin.

It still does not work in my sandbox. It usually looks like in the following photos:

Tasks are usually not displayed, neither today nor those scheduled for tomorrow. Somtimes Obsidian glitches, they appear, but once I want to edit them, they disappear again (this is why I do not have any photo of that...).

Bildschirmfoto 2024-11-20 um 14 26 23 Bildschirmfoto 2024-11-20 um 14 26 42
ivan-lednev commented 2 days ago

@RealGreekGeek, no worries, that's exactly what these discussions are for :) I released a small update, and I think it should address your issue. Please update the plugin and re-check.

RealGreekGeek commented 1 day ago

@ivan-lednev thank you so much. Now it works again without any problems. I am really very thankful because it facilitates my work flow so much! :)