Tag filter is of the (A OR B) type only and it should include a (A AND B) type of filter

14 views
Skip to first unread message

Felipe Vieira

unread,
Jan 3, 2025, 8:14:31 PMJan 3
to mnemosyne-...@googlegroups.com
The semantics of "any" in the "having any of these" (see image) limits the power of tags. The menu should also have a (A AND B) option.

The lack of that type of filter penalizes the following behavior:

*   Set tags consistently across card-sets.

*   Be disciplined with tags.

Example: a person studies language A and B, on both vocabulary and grammar levels. There's no way of filtering:

```
is_language_a AND is_grammar
```

And this combination of tags make a lot of sense.

I can help with the implementation, but I could use some pointers in the codebase.
mnemosyne_bug_2024-12-25_20-20.png

Peter Bienstman

unread,
Jan 4, 2025, 1:25:48 AMJan 4
to mnemosyne-proj-users
If you want to extend the filter options, I think also the GUI should be carefully considered. Mnemosyne is originally targeted for non-computer savvy people who don't know about logical operators, hence the current verbose wording.

The way to go would probably be a plugin which allows more flexible boolean operators for power users, leaving the default behaviour intact. Or switch to Anki :-) 

Apart from basic maintenance, I'm no longer working on Mnemosyne, but the current filter implementation is in pyqt_ui/card_browser.py.

Cheers, 

Peter 

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMZ6u3uMXD7gEUiugwbQq52G53OaahY2Ory%3D20MaVe9d%2BNbmCg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages