marcusolsson / obsidian-projects

Plain text project planning in Obsidian
Apache License 2.0
1.47k stars 60 forks source link

More powerful filters #279

Open imeed166 opened 1 year ago

imeed166 commented 1 year ago

What would you like to be added?

Why is this needed?

Users might need more granular filtering for each view, the current set of options is a good start but has only a limited number of use cases.

marcusolsson commented 1 year ago

I intentionally left this out of scope for the initial version, but it's definitely coming at some point!

Acylation commented 1 year ago

Here's a simpler implement, from webofscience's search. In this case, keywords AND/OR describes the relationship between additional conditions with the main one.

屏幕截图 2022-12-29 195433

ryanjamurphy commented 1 year ago

Is there a way to use Regex or some other search syntax to do "or" searches with the existing filters? If not, maybe that'd be an easy way to implement this, or at least a stop-gap!

saif-eldeen-essam commented 1 year ago

This is extremely needed, I can't find a way to simply separate "Done" projects from those "Not done" yet. When I select the filter: Where > Status (property) > Is not > Done Then when I create a new file, it doesn't show up due to its default status is blank, I don't know why the plugin doesn't show that file although it doesn't contain "Done" in status property

Acylation commented 1 year ago

Hello @SaifEl-Deen, I have looked into the problem you mentioned and found that the description is not "Done" can be somewhat misleading. When we apply an is / is not filter to projects, notes with empty property values are automatically ignored. Perhaps we could consider making some improvements in this area.

saif-eldeen-essam commented 1 year ago

@Acylation Thank you, it's really appreciated <3

It definitely shouldn't ignore the empty ones as this leave us with no way to show up projects with an empty value neither in a Done view or a Not done view.