pashashocky / obsidian-note-gallery

A masonry note gallery for obsidian.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FR] Filter on a checkbox frontmatter property

edward-peters opened this issue · comments

Thank you SO much for this great plugin.
Would it be possible to add a function to filter not only on a folder but also on the value of a property? What I need is to be able to show only those results where the checkbox property for 'Reviewed' is empty.

commented

Assuming you're talking about frontmatter here, so:

---
reviewed:
---

or reviewed !== true...

Any ideas on how you'd feel you'd like to set it in the code-block settings?

frontmatterFilter:
  reviewed: ""

Another option could be to do it through tags:

path: /foo/bar #note/unreviewed

I have one thing on my priority - specifically, a caching layer for rendered markdown which would speed up rendering and compatibility with large vaults. After that's complete I can look into this. Appreciate that you find the plugin useful!

Thanks
-p

commented

@edward-peters - been doing some research on this, as it fits well with #6. I might just go the dataview route as everyone should ideally have dataview installed.

There's a request to support this as part of native search but not sure when this would get completed... Properties: Support searching for Boolean/Checkbox state like [completed:true] - Feature requests - Obsidian Forum