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

Repeat not working when task is checked in Daily Note #532

Open
raph90 opened this issue Feb 24, 2024 · 5 comments
Open

Repeat not working when task is checked in Daily Note #532

raph90 opened this issue Feb 24, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@raph90
Copy link

raph90 commented Feb 24, 2024

Describe the bug
If I have a note, called 'Home Maintenance' for example, and I create a repeating todo there, and schedule it for today, if I now navigate to the Daily Note for the day it's scheduled for (today), and check it, then the note will not automatically generate a new repeat. I think this is because the page that it's originally on (Home Maintenance) hasn't actually been saved...

Is there anyway around this?

Skipping the following section because I'm not quite sure if this is a bug or a feature request.

Thanks! (Great extension btw).

@jgclark
Copy link
Collaborator

jgclark commented Feb 24, 2024

I'm just double checking that you're using the @repeat(...) syntax, not the built-in one?
And that you have a Repeats plugin trigger on the note in question?
If so, then this is expected behaviour, as the trigger only fires when you have the note open in a NP window and change it.
I've asked @EduardMe a number of times for an "onSave" trigger for exactly this sort of reason.

@jgclark jgclark added the enhancement New feature or request label Feb 24, 2024
@raph90
Copy link
Author

raph90 commented Feb 24, 2024

Hi @jgclark, yep this is what I'm doing:
Screenshot 2024-02-24 at 22 49 04

Then on the today page I get:
Screenshot 2024-02-24 at 22 49 23

If I click done on that todo, I get this:
Screenshot 2024-02-24 at 22 49 40

But if I then go back to the self maintenance page, I see this:
Screenshot 2024-02-24 at 22 50 04

So basically it updates, but doesn't repeat. Does my syntax all look correct?

@jgclark
Copy link
Collaborator

jgclark commented Feb 24, 2024

Thanks. You confirm that this is due to a limitation with the current app triggers.

@cwhittl
Copy link

cwhittl commented Jun 25, 2024

Having the same issue, is this something being worked on (the triggers limitation)?

@jgclark
Copy link
Collaborator

jgclark commented Jun 27, 2024

Having the same issue, is this something being worked on (the triggers limitation)?

I can't change the way triggers work: only the app developer can do that ...

... However ...

I've now added a /Generate @repeats in recent notes command to the Tidy plugin for you @raph90. This generates any needed new @repeat() lines in all recently-changed notes.
It means you don't have to add the special trigger on every relevant note: instead you can include this command in your Daily Note template, or run it manually every day or two.

More details at https://github.com/NotePlan/plugins/blob/main/np.Tidy/README.md, including how you can contribute to my coffee fund if you'd like to ;-)

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

No branches or pull requests

4 participants