obsidian-day-planner icon indicating copy to clipboard operation
obsidian-day-planner copied to clipboard

day planner searches outside header section

Open Smitty010 opened this issue 11 months ago • 11 comments

Describe the bug If I have an entry in my daily note that's in a new section below the day planner section. The day planner interprets that as part of the schedule. In my configuration, "Day Planner" is listed as the "Planner Heading Text". The problem is that there is another section just below this that may contain time annotated notes. Time Planner interprets them as part of the day planner entries. In the example below, the note at 11:46 is interpreted as a schedule item. It seems like that day planner shouldn't search past the day planner section since the "Today's Notes" section is at the same level

## Day planner

## Today's Notes
- 11:46 - Some note 

To Reproduce Steps to reproduce the behavior: I believe there is sufficient information to reproduce in the description of the problem

Expected behavior Items outside the time planner header section should not be processed

Screenshots These screenshots illustrate the problem:

image

image

Additional context Add any other context about the problem here.

Smitty010 avatar Mar 01 '24 19:03 Smitty010

Same here.

  • It is not limited to other blocks below the time liner block but is in the whole document.
  • Also, list items without task boxes are counted as well (as far as I understood and worked yet, it only counted time blocks listed as tasks)
  • It counts tasks with only one time set and gives it an estimated duration.

mariashinoto avatar Mar 07 '24 02:03 mariashinoto

The problem is that this is a note with a time showing when the note was made during the day. It's not a scheduled item. It seems like day planner should be limited to the block where the timeblocks are. It's not a huge deal for me, mostly an annoyance.

On Wed, Mar 6, 2024 at 7:23 PM Maria Shinoto @.***> wrote:

Same here.

  • It is not limited to other blocks below the time liner block but is in the whole document.
  • Also, list items without task boxes are counted as well (as far as I understood and worked yet, it only counted time blocks listed as tasks)
  • It counts tasks with only one time set and gives it an estimated duration.

— Reply to this email directly, view it on GitHub https://github.com/ivan-lednev/obsidian-day-planner/issues/382#issuecomment-1982219297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4V7S7T2FM7QKFPZJY2PYDYW7FRVAVCNFSM6AAAAABECJBPUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSGIYTSMRZG4 . You are receiving this because you authored the thread.Message ID: @.***>

Smitty010 avatar Mar 07 '24 19:03 Smitty010

Well, it is a big deal, I would say.

The time blocks showing in the time line should be limited to the time blocks from the section where time blocks are supposed to be written (as set in the preferences).

That said, I am thankful that people develop and maintain such wonderful plugins!

mariashinoto avatar Mar 07 '24 23:03 mariashinoto

I agree that it should be limited to the section specified. I'm just saying that, for me, it's not a show stopper. I can still use the plugin.

And, I too, am amazed at the amount of time people put into plugins. My vault would not work nearly as well without the plugins I have access to.

On Thu, Mar 7, 2024 at 4:35 PM Maria Shinoto @.***> wrote:

Well, it is a big deal, I would say.

The time blocks showing in the time line should be limited to the time blocks from the section where time blocks are supposed to be written (as set in the preferences).

That said, I am thankful that people develop and maintain such wonderful plugins!

— Reply to this email directly, view it on GitHub https://github.com/ivan-lednev/obsidian-day-planner/issues/382#issuecomment-1984782431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4V7S4SIEHNUGGZGRSOK5TYXD2V5AVCNFSM6AAAAABECJBPUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUG44DENBTGE . You are receiving this because you authored the thread.Message ID: @.***>

Smitty010 avatar Mar 08 '24 00:03 Smitty010

I have this issue as well, and it is becoming a show-stopper. I'm using thino plugin to create a "neural log" and every time I write something, even if it's bulleted and not tasks, it shows up in my day planner. I tried making a contains section dataview query but that doesn't work either. Are there any work arounds or a way this can be fixed? Thank you for the otherwise wonderful plugin.

IamPatrickSturgill avatar Apr 01 '24 15:04 IamPatrickSturgill

I have this issue as well, and it is becoming a show-stopper. I'm using thino plugin to create a "neural log" and every time I write something, even if it's bulleted and not tasks, it shows up in my day planner. I tried making a contains section dataview query but that doesn't work either. Are there any work arounds or a way this can be fixed? Thank you for the otherwise wonderful plugin.

I'm also using Thino and was experiencing the same issue. I worked around it by adding a "Ignore Headers" setting to my forked repository. This setting allows you to specify any header you want to exclude from the timeline. In my case, I've excluded the "Thino" header to prevent tasks below it from appearing. I'm open to submitting a PR if this approach would be beneficial to others and aligns with the project's direction.

km-o avatar May 19 '24 15:05 km-o

I have this issue as well, and it is becoming a show-stopper. I'm using thino plugin to create a "neural log" and every time I write something, even if it's bulleted and not tasks, it shows up in my day planner. I tried making a contains section dataview query but that doesn't work either. Are there any work arounds or a way this can be fixed? Thank you for the otherwise wonderful plugin.

I'm also using Thino and was experiencing the same issue. I worked around it by adding a "Ignore Headers" setting to my forked repository. This setting allows you to specify any header you want to exclude from the timeline. In my case, I've excluded the "Thino" header to prevent tasks below it from appearing. I'm open to submitting a PR if this approach would be beneficial to others and aligns with the project's direction.

This would be very helpful.

IamPatrickSturgill avatar May 23 '24 16:05 IamPatrickSturgill

The problem still exists.

Any header text or header level won't stop it from tracking lines with a timestamp. In this case, wonder what's the purpose of header in general ?

urnotjl avatar Aug 16 '24 15:08 urnotjl

I can confirm the problem still exists both on mobile and desktop on version 0.21.1

davinci-tech avatar Aug 28 '24 11:08 davinci-tech