st3v3nmw / obsidian-spaced-repetition

Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian
https://www.stephenmwangi.com/obsidian-spaced-repetition/
MIT License
1.58k stars 189 forks source link

[FEAT] Cards Queries #296

Open Couriuss opened 3 years ago

Couriuss commented 3 years ago

Is your feature request related to a problem? Please describe. Managing knowledge in Obsidian is a matter of how to structure your linking system. There are many resources online where your read that knowledge is not structured, what that means is that the same concept or note can be found in different contexts, usually grouped by an index, call it MOC or any other way. What I suggest is to develop a system so that the flashcards are not constrained by a folder or a tag, it happend many time that I desired that the same flashcards could be displayed in different decks, yet that's not possible. The solution: queries for cards.

Describe the solution you'd like With the premise that I don't know anything about how hard is to implement the idea nor what's your plan for the development of the plugin, and the eventual conflicts this idea might generate, my suggestion to the before mentioned problem is to query cards.

An ipotetical sintax: ```(cards or srs-cards) from (field) where (condition) limit ( any number or amount of time ) sort (random | order) ``` The field can be anything from YAML frontmatter or otherwise specified ex. topic::

Potential applications:

  1. Review query from note: it opens a window like what we currently have and display the cards queired.
  2. Preview cards in document: you just have to write a simple query pointing to the same document.
  3. With limit function you can decide how many cards to review for the session or how much time you want to spend.

Additional context This feature will integrate further into Obsidian design differentiating once again from third party softwares. Thank you, to you and contributors of this plugin.

Couriuss commented 3 years ago

Alternatively, as a workaround, make cards with multiple tags displayed in each deck.

Ex. If some cards share two tags #Topic/Subtopic_1 and #Topic/Subtopic_2 , make those cards appear in both Subtopic_1 and Subtopic_2 decks.

putzwasser commented 2 years ago

I guess, this would be hard to implement, but it sounds like a very nice idea. +1