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

Filter the tasks with a date retrieved from the metadata of the note itself #215

Open
SamirAyman10 opened this issue Mar 1, 2023 · 3 comments
Labels
✨ feature New feature or request

Comments

@SamirAyman10
Copy link

Is your feature request related to a problem? Please describe.
Fist of all, thank you very much for the amazing plugin. I really appreciate your efforts.

Regarding the problem, there seems to be no way to retrieve the note date from the note metadata itself to be used in the filtering of the displayed tasks?

For example, if I want to create a tasks section in my daily note template and I want it to automatically filter tasks based on the date of the note itself? How can I do that?

Describe the solution you'd like
I would like to be able to type a line that can retrieve the filtered date from the metadata of the note.

Describe alternatives you've considered
The only alternative available now is to either type the exact date every time you create a note or filter using the built in today (Although this is a temporary solution till you create the following day note as the tasks will automatically update in all daily notes)

Additional context
N/A

@SamirAyman10 SamirAyman10 added the ✨ feature New feature or request label Mar 1, 2023
@jamiebrynes7
Copy link
Owner

I like the idea of integrating more closely with daily notes as I expect this is a relatively common use case - I'll have a look at the feasibility of this

@jeffreylees
Copy link

Any thoughts about this as of yet, or ideas on how it might be done?

@samawelch
Copy link

I realise this is a rather old request, but it can be accomplished with for example a daily note template by using Obsidian's built in {{date}} placeholder:

filter: "due: {{date:DD.M.YYYY}}"

This is compatible with daily notes created through the periodic notes/calendar plugin (and I assume the built in daily notes)
Something I'm trying to figure out myself is whether something similar can be done to pull out all the tasks associated with a given week, say
filter: "due before: 08.7.2024 & due after: 01.7.2024" for anything occurring in week 27 of 2024.

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

No branches or pull requests

4 participants