-
Notifications
You must be signed in to change notification settings - Fork 190
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]: plugin does not detect tags/cards after recent update #1077
Comments
I'm having a similar issue: the plugin stops recognizing new multiline cards but still recognizes cards with clozes. |
Thanks for your email.
There you go.
[cid:94583cb5-8873-432f-8b1e-68b073fa9704]
…________________________________
From: Ronny Zulaikha ***@***.***>
Sent: Thursday, September 19, 2024 12:51 PM
To: st3v3nmw/obsidian-spaced-repetition ***@***.***>
Cc: adakka ***@***.***>; Author ***@***.***>
Subject: Re: [st3v3nmw/obsidian-spaced-repetition] [Bug]: plugin does not detect tags/cards after recent update (Issue #1077)
Hi there
I haven't been able to reproduce the problem, could you please send through (as an attachment, not copy/paste)
1. Your configuration file, for example on my machine this is located at:
D:\Obsidian\.obsidian\plugins\obsidian-spaced-repetition\data.json
2. A sample markdown file that includes cards that are no longer detected.
Also, with 1.12.6 running:
3. A screenshot of the deck selection dialog, e.g.:
image.png (view on web)<https://github.com/user-attachments/assets/9718a746-6deb-4baa-a2c7-a9b2361b1fea>
Cheers
Ronny
—
Reply to this email directly, view it on GitHub<#1077 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AK7GUJSXWWBKBBD3ITYQV63ZXKNALAVCNFSM6AAAAABOM6GQLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRQGUZTANRWGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks for that, unfortunately GitHub only extracted the text from your email to include in the post. Any attachments that you had in it were ignored. I think you'll need to use the GitHub website and create a post, and attach the files there manually. |
The previous version works without any problems |
Here's an error I'm seeing a lot of Could it be that it isn't processing the spaced repetition if we aren't using the standard symbols for spaced repetition? |
@Smitty010, I think that's the case.. The parser isn't handling the symbols correctly. What separators are you using? |
I'm using "@@". This separator has worked perfectly in the previous versions. |
This PR: 1. Adds test cases for parsing {{curly}} clozes 2. Fixes #1072 - Ignore 'cards' in ```block`` & `inline` codeblocks - Adds test cases for both 3. Fixes #1077 - When all the cloze options aren't being used, `cloze_rules` in `parser.ts` becomes empty which leads to the empty grammar rule `cloze_text` which prevents the grammar from being generated. This change adds a tombstone \0 to address this. - Adds test cases for this
This PR: 1. Adds test cases for parsing {{curly}} clozes 2. Fixes #1072 - Ignore 'cards' in ```block`` & `inline` codeblocks - Adds test cases for both 3. Fixes #1077 - When all the cloze options aren't being used, `cloze_rules` in `parser.ts` becomes empty which leads to the empty grammar rule `cloze_text` which prevents the grammar from being generated. This change adds a tombstone \0 to address this. - Adds test cases for this
I was able to reproduce @Smitty010's error based on what @adakka provided. The issue occurs when none of the "Convert X to clozes?" options are turned on which was messing up the parser. There's a fix in #1081. I'm waiting for a code review.. We'll release the fix ASAP. |
This PR: 1. Adds test cases for parsing {{curly}} clozes 2. Fixes #1072 - Ignore 'cards' in ```block`` & `inline` codeblocks - Adds test cases for both 3. Fixes #1077 - When all the cloze options aren't being used, `cloze_rules` in `parser.ts` becomes empty which leads to the empty grammar rule `cloze_text` which prevents the grammar from being generated. This change adds a tombstone \0 to address this. - Adds test cases for this
Here's my data.json file if you want to test it:
|
This PR: 1. Adds test cases for parsing {{curly}} clozes 2. Fixes #1072 - Ignore 'cards' in ```block`` & `inline` codeblocks - Adds test cases for both 3. Fixes #1077 - When all the cloze options aren't being used, `cloze_rules` in `parser.ts` becomes empty which leads to the empty grammar rule `cloze_text` which prevents the grammar from being generated. This change adds a tombstone \0 to address this. - Adds test cases for this
@adakka @yett1873 @Smitty010, please try the new release (v1.12.7) and let us know if it fixes the issue for you. |
Now I can see the notes. Thank you.
Furthermore, the problem of "double cards" has also been fixed.
I'll keep you updated.
…________________________________
From: Stephen Mwangi ***@***.***>
Sent: Sunday, September 22, 2024 1:38 PM
To: st3v3nmw/obsidian-spaced-repetition ***@***.***>
Cc: adakka ***@***.***>; Mention ***@***.***>
Subject: Re: [st3v3nmw/obsidian-spaced-repetition] [Bug]: plugin does not detect tags/cards after recent update (Issue #1077)
@adakka<https://github.com/adakka> @yett1873<https://github.com/yett1873> @Smitty010<https://github.com/Smitty010>, please try the new release (v1.12.7) and let us know if it fixes the issue for you.
—
Reply to this email directly, view it on GitHub<#1077 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AK7GUJXZCHLVBAEJXV3GNLTZX2M3TAVCNFSM6AAAAABOM6GQLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRWGY4TKNBZGY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
That solved my problem as well |
* fix: parsing code blocks & custom separators This PR: 1. Adds test cases for parsing {{curly}} clozes 2. Fixes st3v3nmw#1072 - Ignore 'cards' in ```block`` & `inline` codeblocks - Adds test cases for both 3. Fixes st3v3nmw#1077 - When all the cloze options aren't being used, `cloze_rules` in `parser.ts` becomes empty which leads to the empty grammar rule `cloze_text` which prevents the grammar from being generated. This change adds a tombstone \0 to address this. - Adds test cases for this * Fixed inline code in clozes * - Fixed issue raised at st3v3nmw#1072 (comment) where inline code was not properly hanlded by clozes - Fixed a new issue related to the case when the user provides empty markers for the inline and multiline cards. With the new version, the rule is disabled when the marker is empty. * add parser test case * add more parser test cases --------- Co-authored-by: Andrea Alberti <a.alberti82@gmail.com>
Describe the bug
plugin does not detect tags/cards after recent update
To Reproduce
Expected behavior
cards displayed normally
Screenshots
No response
OS of your device
Windows 11 & iOS
Obsidian version
1.7.1
Plugin version
1.12.6
Installer version
1.4.13
Additional context
No response
Config file
No response
The text was updated successfully, but these errors were encountered: