New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ FR ] Support of the Periodic Notes Plugin #9
Comments
I am very interested in supporting Periodic Notes weekly notes and calendar sets. I am using the core Daily Note plugin and Periodic Notes v0.0.17(I am not really making good use of Periodic Notes), but I assume you are using the beta version. |
Yes, I always have the latest ( beta ) version of PN installed and enabled. I have not tried out the combination of the core DN and your DNO plugins -- DN is restricted to one folder, so it does not help me. Hence, I have deactivated it. I can run a test for one of my calendar folders to see if there are any issues. Let me know. I am gladly prepared to test a beta version of your DNO plugin, once it is available. |
Suppoted PN in v1.0.0. Please give it a try. I hope you will feel free to report problems and give me feedback! |
Hi, I have just tried the integration with Periodic notes but I have the following issues:
|
Thank you for your report and sorry for the inconvenience.
If the above is okay, could you please provide the following information to help me narrow down the issue:
|
Is Periodic Notes plugin installed and enabled? Which version of Periodic Notes are you using? 0.0.17 or 1.0.0-beta3 ? |
I see that you are experiencing problems specific to WEEKLY NOTE. I have considered several possible causes. I am sorry, but I would appreciate your further cooperation.
|
If the weekly note file itself is not detected, the string "No daily/periodic note found" will appear in DNO view. On the other hand, if there is some error, the area under the UI icons will be blank. Which is it? Does the console(Ctrl+Shift+I) show any error messages? DNO has a button to create a new daily/periodic note, does this not work? Could you try left-clicking to create this week's note or right-clicking to create next week's note and see if the note is created? The most likely cause of the problem is that it is failing to get the file name or path for some reason. I would like to try to reproduce the problem at hand, so if you don't mind, may I have the following information? Format and NoteFolder of weekly notes in Periodic Notes plugin settings Possibly the conversion to date is failing: would turning off "attach date range to weekly notes" in the Periodic Notes section of DNO's settings make any difference? Possibly the DNO configuration file is corrupted for some reason: After closing obsidian, move the data.json file in .obsidian\plugins\obsidian-daily-note-outline to a different location and then restart Obsidian, the DNO settings will be initialized, If a corrupt configuration file is the cause, this should improve the problem. |
What about Format and NoteFolder in Periodic Notes plugin settings?
By the way, what does this mean? The Console is an Obsidian feature unrelated to DNO, so I think it is possible to open it... If you can't open the Console only when you open the weekly notes, it is possible that something is causing a high load. If you are on macOS, the hotkey to open it is different. Here is a help message from Obsidian's Discord channel:
|
Here is my weeky note format: YYYY-MM-[Week]ww I can open the console but can't see anything unusual being triggered when I switch to week DNO view. |
Hmmm, it works fine in my environment in that format... If you have time, I would appreciate it if you could try to see if only the weekly note fails to display in other vaults as well. |
I haven't identified the cause of the problem yet, but there's a report in the Periodic Notes repository that the Calendar plugin is not detecting weekly notes as shown below: According to the latest comment, "Periodic Notes: Open weekly note" works, but the calendar plugin cannot detect and display weekly notes. Are you using @liamcain's Calendar plugin? Could you please try turning on the "Show week number" setting in the Calendar plugin and see if the weekly notes are displayed on the calendar? |
I have the same problem: DND does not detect the weekly note from Periodic Notes Plugin. My weekly note definition in the Periodic Notes plugin: DND shows "No daily/periodic note found" Functionality apart from the Periodic Notes plugin: normal display of the Daily Notes. |
Thank you for the detailed information! |
BINGO!! I set "start week" to Sunday (I normally set it to Monday) and weekly notes are showing in DNO!!!! |
I have tested all the settings in the calendar plugin: with none of the settings the Weekly notes are displayed in DND. |
I was confused by the difference between the two results, but @benpla is using v1.0.0-beta3 of Periodic Notes, right? I mistakenly thought it was v0.0.17, and I didn't have much confirmation of the processing there. Periodic Notes plugin needs to be investigated separately, as the internal processing and behavior varies greatly from between 2 versions. However, I suspect that the day of the week and locale may have an impact as well in the beta version. If you are using v0.0.17, please use the workaround to set the beginning day of the week to Sunday for now if possible. However, doing so will change the week number for Sunday, which may cause side issues such as the calendar plugin displaying differently, or the destination of embedded daily notes in the weekly note. If you are concerned about such a situation, please wait for a bug fix. @benpla
|
Many Thanks for your investigation! 2: Nothing changed in settings between the third and fourth screenshot. The only change is my click on the date range:
I have one more question: |
If clicking on the string "day" to the right of the date range does not switch to week, now I have a feeling that this is a different issue than the LOCALE issue. Your screenshot shows Daily Notes in the DNO list, even though daily notes is turned off in the Periodic notes settings screen. If it is working as I intended, when daily notes is disabled in Periodic Notes, the string should not be 'day' and starts with 'week'. So I think something is wrong at this point.
As for Periodic Notes, DNO reads its version (v0.0.17 or v1.0.0-beta3) and settings such as calendar sets, enabled granularity(day, week, month...), and processing of DNO branches according to those settings. Therefore, knowing the settings is useful to isolate and reproduce the cause of a failure. |
Daily Note core plugin is off --> yes In the settings of DND "Daily Notes plugin not enabled" is displayed. I can't tell if this was there yesterday, I just noticed it now. If I click on "day", Console shows nothing. I type in Console I type in Console |
Thank you very much, but it seems that Daily Note Outline is not getting the information on the PERIODIC NOTES correctly... Sorry, just two more!
Others
Sample of data.json
|
Putting to Console: Folder: contents of
|
Thank you for your help. In the meantime, possible workarounds and other checks:
|
Hello, Regarding the weekly notes, I have given up. Because I find your plugin so extremely useful, I've changed my workflow as of today (and have been reposting for the last week): With my Daily Notes workflow it works great now. But I still have a request for an improvement: For this I think 2 alternativ possibilities: (1) My daily Notes look like this by example :
Then this alias is shown in the side pane instead of the filename. (2) alternatively Then the custom format will be shown in the sidepane instead of the file name of the daily note. Is there a possibility to add one of these variants? |
Hello, @benpla I expect to be able to fix the problem with 'Monday start in Periodic Notes v0.0.17' in the next release, but I have not actually been able to reproduce the problem you encountered. I would like to create a new issue regarding your feature request. |
Good Idea to create a new issue regarding my feature request. Thank you! |
In v1.1.0, I added an option to display Debug Information in the console. As shown in the attached image, this is to sequentially display the configuration information(calendarSets) of Periodic Notes to see where the information is not being communicated well. |
From your screenshot(line 1 in the console), it looks like DNO recognizes the version of Periodic Notes plugin as v0.0.17. (verPN = 1). |
I checked it: "0.0.17" with the last release. I had downloaded the last version from obsidian-periodic-notes releases page. The caption version on releases page says 1.0.0-beta.3, but the content of |
We are finally reaching a solution. Thank you so much for your kind and patient help.
I think that by doing one of the above, the switching of periodic notes will work correctly (Please make a backup of data.json just in case). |
That's good to know! |
Good Morning (I am in germany), |
v1.1.1 has been released. Please check if the problem has been fixed. |
I have disabled the Daily Notes core plugin and I use the more flexible Periodic Notes one -- I currently have four different calendar sets.
It would be fantastic if DNO could, in addition, support PN and adapt to the active set.
What are your plans in that respect?
The text was updated successfully, but these errors were encountered: