Quorafind / Obsidian-Daily-Notes-Editor

A plugin for you to edit a bunch of daily notes in one page(inline), which works similar to Roam Research's default daily note view.
162 stars 8 forks source link

[Bug]: Only the last couple of days are shown (with workaround) #40

Open hmijail opened 3 weeks ago

hmijail commented 3 weeks ago

Bug Description

When I open the plugin's view, only the last couple of days' notes are shown.

Relevant Screenshot

https://github.com/Quorafind/Obsidian-Daily-Notes-Editor/assets/4139546/d67d0c3c-b723-4e95-b94d-7c9120023ef4

To Reproduce

To reproduce just create a couple of short notes in the latest dates and open the plugin's view.

But I think I found the reason and a workaround: if the shown note/s are too short to cause the scrollbar to appear, then no more notes are included in the view.

The workaround then is to change the size of the window momentarily, making it narrow, so that the text gets flowed down the available space. Once the scrollbar appears, the rest of notes will be populated. At that point you can resize the window back to your preferred size and the viewer keeps working correctly.

This is probably related to #37 .

Obsidian Version

1.5.12

Which plugin are you using for daily notes?

Checklist

Quorafind commented 1 week ago

Please check if this issue remains in 0.1.6

hmijail commented 1 week ago

Seems to be fixed, thank you!

hmijail commented 6 days ago

Sorry, I am finding the issue is actually still there, only less frequent. Not sure yet what exactly triggers the problem, so I haven't found a way to reproduce it reliably.

calvinwyoung commented 5 days ago

FYI the version linked in this comment fixes the issue for me: https://github.com/Quorafind/Obsidian-Daily-Notes-Editor/pull/41#discussion_r1653018811

hmijail commented 5 days ago

@calvinwyoung I installed it and will report back. But for starters, looks like this version ignores the settings to not show backlinks and unlinked mentions.

hmijail commented 3 days ago

@calvinwyoung now somehow the settings for backlinks and unlinked mentions do work. No idea of what changed, hopefully it was my mistake.

Anyway, your version seems to work better than the original one, but still it's easy to make it fail: open the Daily Note view, quit Obsidian, and start it again. In this case the Daily Note view only shows 2 dates. Pressing the Daily Note button causes the view to be refreshed correctly.

Not sure if this is the same bug or a different one?