Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Most of my flashcards are now missing #923

Closed
nstebbins opened this issue Mar 30, 2024 · 18 comments
Closed

[BUG] Most of my flashcards are now missing #923

nstebbins opened this issue Mar 30, 2024 · 18 comments
Labels
bug Something isn't working

Comments

@nstebbins
Copy link

Describe the bug
I updated the community plug-in to the latest version of Spaced Repetition and was dismayed find that most of my tagged flashcards are missing. I went from having about 1500 flashcards to about 155.

Screenshots
Here's a video with the exact issues that I'm seeing.

temp.mov

Versions (please complete the following information):

  • OS: macOS Sonoma 14.1.2
  • Obsidian version: 1.4.16
  • Plugin version: 1.12.2

Additional context
I'm happy to provide any additional details.

@nstebbins nstebbins added the bug Something isn't working label Mar 30, 2024
@huetruong
Copy link

huetruong commented Mar 30, 2024

Same here. I came looking why my cards are gone. Originally missing at v1.12.1 and upgraded to v1.12.2.

  • Windows 11
  • Obsidian version: v1.5.11
  • Plugin version: v1.12.2

@vrmneto
Copy link

vrmneto commented Mar 30, 2024

same here

@huetruong
Copy link

I reloaded 1.11.2 and it works again. The changes from 1.12.0 has breaking changes to the way I have been styling my flashcards.

@vrmneto
Copy link

vrmneto commented Mar 30, 2024

@huetruong how did you installed it?

@huetruong
Copy link

@huetruong how did you installed it?
Go to link below, and download, extract to the .obsidian folder where the plugin is installed. Overwrite the new version with the older version.

https://github.com/st3v3nmw/obsidian-spaced-repetition/releases/tag/1.11.2

@ronzulu
Copy link
Collaborator

ronzulu commented Mar 31, 2024

Hi @nstebbins thanks for letting us know and identifying the issue, the video was helpful.

The code went through non-trivial changing when implementing the recent enhancements for:
Multiple Tags Within a Single File
A Single Card Within Multiple Decks

I never considered a note format where the multi-line character is present on the line immediately after the end of the frontmatter, i.e.:

---
{{frontmatter}}
---
?
{{multi-line answer}}

It isn't something that I personally use, and it didn't occur to me.

@huetruong @vrmneto please let me know if this is the format of notes that you are using.

Thanks
Ronny

@ronzulu
Copy link
Collaborator

ronzulu commented Mar 31, 2024

Hi @nstebbins

Could you please post (attach, not copy/paste) the markdown file in your video.

Please also include a description of the expected behavior.

I've tried to recreate, using:

---
tags:
  - flashcards
src: https://www.khanacademy.org/
---
?
Yes, this is the answer

In version 1.11.2 the card is displayed with a blank front:
image

Is that what you are expecting?

Thanks
Ronny

@nstebbins
Copy link
Author

nstebbins commented Mar 31, 2024

Merchant Credit.md

The expected behavior is for this note to show up in my notes to review exactly as you mentioned without a question. This is because I have the title turned on when reviewing so I can see the title of the card for which I have to provide a definition.

? following the frontmatter is likely a red herring as even when I move the ? below # Definition the issue still occurs.

Thank you for taking the time to investigate this so promptly.

@vrmneto
Copy link

vrmneto commented Mar 31, 2024

Hi @nstebbins thanks for letting us know and identifying the issue, the video was helpful.

The code went through non-trivial changing when implementing the recent enhancements for: Multiple Tags Within a Single File A Single Card Within Multiple Decks

I never considered a note format where the multi-line character is present on the line immediately after the end of the frontmatter, i.e.:

---
{{frontmatter}}
---
?
{{multi-line answer}}

It isn't something that I personally use, and it didn't occur to me.

@huetruong @vrmneto please let me know if this is the format of notes that you are using.

Thanks Ronny

Mine is diferent
Captura de tela 2024-03-31 122624

I am using the highlight to mark the omitted part of the note,
Captura de tela 2024-03-31 122902

@vrmneto
Copy link

vrmneto commented Mar 31, 2024

@huetruong how did you installed it?
Go to link below, and download, extract to the .obsidian folder where the plugin is installed. Overwrite the new version with the older version.

https://github.com/st3v3nmw/obsidian-spaced-repetition/releases/tag/1.11.2

thx man, it worked. You saved me here heheheh

@ronzulu
Copy link
Collaborator

ronzulu commented Apr 1, 2024

@vrmneto you will need to give further explanation regarding "Mine is diferent".

What of yours is different? And different to which other user?

Also attach your markdown file (attach the file, don't copy/paste).

@vrmneto
Copy link

vrmneto commented Apr 1, 2024

@vrmneto you will need to give further explanation regarding "Mine is diferent".

What of yours is different? And different to which other user?

Also attach your markdown file (attach the file, don't copy/paste).

the difference is that I am using the highlight to mark the omitted part of the note, and not using the structure with multi-line answer

CF 37 §3° I - Participação de usuário na administração pública.md

@ronzulu
Copy link
Collaborator

ronzulu commented Apr 2, 2024

Hi all

Please check with the updated code, see #915 (comment)

Thanks
Ronny

@nstebbins
Copy link
Author

Updated main.js and this is what I got 🤔

Screenshot 2024-04-04 at 11 34 15 AM

@ronzulu
Copy link
Collaborator

ronzulu commented Apr 4, 2024

Sorry about that, the style.css was recently changed. I've updated the zip file on #915 to include the latest version.

@ronzulu
Copy link
Collaborator

ronzulu commented Apr 9, 2024

Hi @nstebbins sorry to hassle you, would be great if you could check again. Thx

@nstebbins
Copy link
Author

Updated the stylesheet & JS file per your instructions and everything looks good now. Thanks for the support @ronzulu 👍🏻

Have a great rest of your week

@ronzulu
Copy link
Collaborator

ronzulu commented Apr 20, 2024

Thanks @nstebbins have a great weekend!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants