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.53k stars 184 forks source link

Tags does not create decks #102

Closed semits20 closed 3 years ago

semits20 commented 3 years ago

at the time of reviewing flashcard, the assigned tags are not being created as decks. Is there something I am missing? because i think if i add tags then it would reflect as decks at the time of review. Or should i add tags in YAML

st3v3nmw commented 3 years ago

Have you added the tags you want to use in the settings? Because what you're currently doing sounds correct. Maybe a couple illustrative screenshots might be helpful for me to get to the root of the problem. Is this related to what you raised in #87?

semits20 commented 3 years ago

Before raising this issue i didn't added tags in the settings, but i did after u mentioned here. Still, I can only see two tags as decks, the rest are not being shown. I am extremely sorry I misunderstood the way these tags works, I thought it is intuitive means after adding #flashcards I can add different tags like neuracache do with their software.

semits20 commented 3 years ago

One more thing i would like to show, which i think if it can be implemented then life would be very easy, it would be a delight to create flashcards. 2021-05-26 (2) see in this screenshot, i have tried to create a flashcard within this block means my outliner plugin was active, this does not reflect in my flashcard. If flashcard within sub child could have been created, then it would be awesome

st3v3nmw commented 3 years ago

You can change the settings to have the flashcards scheduling placed in the last line of the flashcard's text. That should solve this problem.

st3v3nmw commented 3 years ago

So, for the decks, the plugin picks only the first matching tag and uses that for the deck.

semits20 commented 3 years ago

2021-05-26 (1) as you can see in this screenshot i have added different tags but only first two tags are shown. The rest of the tags are not shown as decks, so is it how it works? I am just asking, i am not aware about it.

And related to the settings to have the flashcards scheduling, it is already turned on. Still, it does not reflect in my workflow.

Couriuss commented 3 years ago

I had the same problem, make sure you haven't press enter accidentally. If you press enter the tags are not read correctly.

st3v3nmw commented 3 years ago

I've made a fix to allow splitting with arbitrary numbers of any whitespace character, newlines included. That should fix what @Couriuss raised.

st3v3nmw commented 3 years ago

Hey @semits20, could you give us an update on this?

Masstronaut commented 3 years ago

I just installed the plugin and was having a very similar issue. I ended up figuring out a workaround. To repro:

  1. Install the plugin with default settings.
  2. Add #flashcards in an existing.
  3. Add Cloze deletions (the disable cloze cards? option is not enable). I put three on a single line (+1 to #93 )
  4. Run the Spaced Repetition: Review flashcards command
  5. Observe that there are no decks in the dialogue.
  6. Add a single line flashcard using the default separator ::
  7. Repeat step 4
  8. Observe that the Cloze deletions AND the single line flashcard have now appeared.
st3v3nmw commented 3 years ago

@Masstronaut, there's a bug with the cloze cards. The plugin requires a blank line after the card's text. I'll fix this.

st3v3nmw commented 3 years ago

Closing

jamesstephenbrown commented 2 years ago

I found that it was only preexisting tags that didn't show up. If I changed my #History to #HistoryCards (in both the settings and the note) and used that, it worked.