daeh / zotero-markdb-connect

Zotero plugin that links your Markdown database to Zotero. Jump directly from Zotero Items to connected Markdown files. Automatically tags Zotero Items so you can easily see which papers you've made notes for.
MIT License
519 stars 8 forks source link

tag-like search for items without markdown notes #140

Closed notuntoward closed 3 weeks ago

notuntoward commented 3 weeks ago

During a long literature search session, I often add a lot of new zotero bibliography items in one shot. But later, when I go back to add the corresponding obsidian notes, I cannot find those new items, the ones I haven't yet obsidianized.

Would it be possible to add a view which filters out items that already have obsidian notes, and shows only those that don't? I mean something that looks like the todo tag search in the screenshot below.

I know that I could add a literal tag like doesn't have obsidian note every time I create a new item, but this wouldn't take advantage of markdb-connect's carefree automatic obsidian note search. Also, I've tried this already, and found myself constantly forgetting to add or remove such tags. In fact, this is what drove me to `markdb-connect', which I really like, and use nearly every day.

image

daeh commented 3 weeks ago

What about just saving an advanced search for Tag > does not contain > ObsCite (or whatever your tag is)? That will make a 'smart folder' that contains all the items with no associated Markdown reading note (you could add extra criteria if you want to limit it to items added in the last week or whatever else).

notuntoward commented 3 weeks ago

That does seem like it should work, but the does not contain search doesn't exclude the items with an obsidian note. Maybe it's a Zotero 7 bug?

In the example below, my custom tag is obsLitNote, and the paper, "A Data-driven Method for Adaptive Reserve Requirement Estimation via Probabilistic Net Load Forecasting" has an obsidian note.

Here's the does not contain search`:

image

A here's the contains search:

image

daeh commented 3 weeks ago

Check the "Show only top-level items" box. See how "A decoder-only foundation model for time-series" is greyed out but "A data-driven method for predicting thermal runaway" is in black? That's telling you that "A decoder-only foundation model for time-series" doesn't match the search criteria but it's being displayed because a child of that element does. Since the "obsLitNote" tag only applies to top level items, that's all you need to search.

notuntoward commented 3 weeks ago

Ah, I see. Thanks very much. Is it possible to narrow this down to the currently selected collection?

daeh commented 3 weeks ago

you can specify a subcollection, but I'm not sure what options exist for context-aware search. You could ask the Zotero forums. Cheers.