-
-
Notifications
You must be signed in to change notification settings - Fork 229
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 Tasks by Properties Frontmatter #2480
Comments
Hi, thanks for using Tasks. Indeed, this would be useful. Searching the docs for 'Frontmatter' shows this: https://publish.obsidian.md/tasks/Getting+Started/Tags#Using+tags+in+YAML%2C+Frontmatter+or+file+Properties So feel free to upvote #232 and I'll close this as a duplicate. |
I'm reopening this so that I can track its progress - which cannot be done in Discussions. |
Remaining actions for first release
Testing
Documentation
Example for documentation
Actions for later releases
Searching
|
Hi, we have an implementation of this that is very close to release - I am hoping it will go out this coming weekend.... It would really, really help us out if people here could test it out please. It's been a lot of work to implement this and get it to a usable state. Testing like this is a fantastic way for you to contribute back to the plugin and help out both the developers and other users, please.... I am specifically looking for:
To try it out:
Thanks to @ilandikov for help on this feature. |
Please record any feedback or examples in this ticket. Thank you! |
I've shared the above post in #232, where we have received comments from multiple people in the past... |
@claremacrae couple of comments after reading the docs. I'm nitpicking here...
|
Thanks! |
Done.
I should have explained earlier - my concern about calling them I feel that using 'File Properties' for two different types of thing is potentially rather confusing. Also, in future we will likely provide access to the OS' file creation date and modification date, and some users store that kind of data in front-matter too... So that's another thing that could be confusing if this new feature uses 'File Properties'. I initially used 'Obsidian Properties' but felt it was unclear or unspecific...
I wasn't sure that
Done
Yes, it definitely works, and I thought that the space character might make the |
I opted for "Obsidian Properties" in the end, having found some articles online calling them that: |
This has just been released in Tasks 7.7.0. For details and examples, see the Obsidian Properties documentation page. |
Awesome! =) |
🔖 Feature description
It will be useful to filter tasks from the file properties frontmatter by {key} and {value}.
✔️ Solution
In my case, i’m trying to use this plugin to handle tasks coming from work meetings.
Since I have multiple work projects, it would be useful to filter them with info from the file properties frontmatter.
For example
‘ ‘ ‘tasks
Properties.{key} includes {value}
‘ ‘ ‘
Or
‘ ‘ ‘tasks
Filter by function task.file.properties.{key} = {value}
‘ ‘ ‘
I know that a workaround is to insert a tag in the task description like follows, but that would mean to write it for every task in that particular meeting and to have less readable tasks.
‘ ‘ ‘tasks
Description includes Project1
‘ ‘ ‘
❓ Alternatives
No response
📝 Additional Context
Added by @claremacrae:
See #2480 (comment) below for remaining steps for the implementation.
The text was updated successfully, but these errors were encountered: