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

Namespaces only go two levels deep. #286

Open
Trenton-Ruf opened this issue Sep 15, 2024 · 2 comments
Open

Namespaces only go two levels deep. #286

Trenton-Ruf opened this issue Sep 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Trenton-Ruf
Copy link

Trenton-Ruf commented Sep 15, 2024

Describe the bug

When syncing to Anki, namespaces with more than 2 levels are truncated.

For example cards in Logseq under: 日本語/Beginner Intermediate/Chapter 6
Are added to Anki under: 日本語/Beginner Intermediate

Expected behavior
Expected cards to be added to 日本語/Beginner Intermediate/Chapter 6 in Anki

  • Arch Linux
  • Logseq Anki Sync Plugin Version: v6.4.1
  • Anki Version: 24.06.3
  • AnkiConnect Addon Version: 24.7.25.0
  • Logseq Version: 0.10.9
@Trenton-Ruf Trenton-Ruf added the bug Something isn't working label Sep 15, 2024
@debanjandhar12
Copy link
Owner

In Logseq terminology, for cards created on the "Chapter 6" page, the namespace is "日本語/Beginner Intermediate" and the page name is "Chapter 6".
As a result, the plugin places these cards in the "日本語/Beginner Intermediate" deck. I'm open to discussion regarding this behavior and am willing to modify it if everyone believe it should be changed.

@debanjandhar12 debanjandhar12 pinned this issue Sep 16, 2024
@Trenton-Ruf
Copy link
Author

The way it is now if fine for general retention.
The reason I wanted the full path was so I could cram for school tests in Anki.
The tests are separated by chapters, so I need a way to review only relevant cards on the day of the test.

I've settled on using a page property in logseq: tags:: chapter 6 and filtering by tags on Anki.
image

Having an option to add the logseq page name as an anki tag automatically would be nice, but I'm satisfied with this method. Awesome plugin btw.

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

2 participants