Skip to content
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

Daily TODOs do not roll over automatically #144

Open
kortschak opened this issue Jun 12, 2024 · 5 comments
Open

Daily TODOs do not roll over automatically #144

kortschak opened this issue Jun 12, 2024 · 5 comments

Comments

@kortschak
Copy link

I have this plugin installed at v1.1.8 using periodic notes at v0.0.17 all in obsidian v1.6.3.

I did a recent update from v1.1.7 of this plugin and an upgrade of obsidian to the current version (don't recall the previous and I don't see it logged anywhere).

After this, daily TODOs are not rolled over when a new daily note is created, but using the hot-key to manually cause a rollover does work.

Is this a known issue (I could find no other issue like this here)?

@nyawox
Copy link

nyawox commented Jun 20, 2024

Do you use Templater? If so, look here. I have the same issue only when using both Periodic Notes and Templater, not with the daily notes core plugin.

My current workaround is to disable automatic rollover and run the command from the template:

<%* app.commands.executeCommandById('obsidian-rollover-daily-todos:obsidian-rollover-daily-todos-rollover') %>

Mine looks like this:

## ✅ TODO
- [ ] 
<%* app.commands.executeCommandById('obsidian-rollover-daily-todos:obsidian-rollover-daily-todos-rollover') %>

@kortschak
Copy link
Author

I don't use Templater, but the mechanism of that bug was essentially what I was thinking might be the cause.

@BestChinchilla
Copy link

@nyawox just copy your solution into my template, but it doesn't work, obsidian-rollover-daily-todos plugin started, but tasks not moved, it works only if I run command from CTRL + P, can you explain what you did for successfully migrating tasks?

@nyawox
Copy link

nyawox commented Sep 5, 2024

tbh I don't even remember exactly what I did since it was long ago, and it has been working just fine since that. basically I have Periodic Notes plugin create the daily note using Templater, and that code I have in my template that I posted above is supposed to execute the same command you can run from CTRL + P (see the command id obsidian-rollover-daily-todos:obsidian-rollover-daily-todos-rollover)
I also have Template heading on Rollover Daily Todos plugin set to ## ✅ TODO
My daily notes are named like this YYYY/MM-MMMM/YYYY-MM-DD-dddd in the Daily folder
You can maybe start troubleshooting by putting my code snippet above other templater commands on the template to make sure it executes without being interurepted

@BestChinchilla
Copy link

@nyawox thx for your reply, I'm continued to debug this problem and found that daily quote <% tp.web.daily_quote() %> is reason of my problem, after I delete this templater command all started work successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants