Open justinabrahms opened 2 years ago
I'm working on this on this branch (https://github.com/org-roam/org-roam-ui/tree/feat/queries), but I've gotten a bit stuck with the specific syntax of the query.
Atm I've implemented it as
bare_words_for_titles title:(this filters titles) tag:(some_tag, another_tag) dir:(subdir) file:() ctime:() mtime:() query:(name_of_another_query)
These queries are given a name and can be referenced by other queries (and hopefully in org files later as well). You can then exclude, include, or color the nodes that match that query.
The thing is: it sorta works, but the syntax isn't great. Ideally I would like to have the queries not be black/whitelists but just use ANDs, ORs, and NOTs to accomplish the same, and to be able to use link info as well.
Do you have any ideas on this? How would you like to use it?
I think for me, I'd like to be given the node or file name and (maybe) some properties it has. From there, I can provide a configured predicate on whether it should be included or not.
I would love this feature. Being able to add a certain property to the file or a heading to ignore it would be awesome!
Have you checked whether this feature is not already on the project board?
Yes
Is your feature request related to a problem? Please describe. I have a daily journal ( org-roam-dailies-capture-today ). Those pollute my roam-UI.
Describe the solution you'd like I'd like to provide a function which is used as a predicate to exclude those based on either title or directory.
Describe alternatives you've considered Not too sure, but open to other ideas.