debanjandhar12 / logseq-anki-sync

An logseq to anki syncing plugin with superpowers - image occlusion, card direction, incremental cards, and a lot more.
GNU Affero General Public License v3.0
426 stars 30 forks source link

New cards appear in random order(even with random order disabled in Anki) #82

Open alan-n-f opened 1 year ago

alan-n-f commented 1 year ago

Describe the bug Cards don't get added in the order they are written in the document, which is different to how, for example, the Obsidian to Anki plugin works, or how Anki itself works when you manually add cards.

Random order of new cards should be controlled by Anki itself, which has that setting, being opt-in and not enforced by this plugin.

Steps to Reproduce: Steps to reproduce the behavior:

  1. Write some cards in order
  2. Sync with the plugin
  3. Go to anki, cards show in a different order.

Expected behavior Cards should show in the order they were written in the document prior to doing a sync with anki.

Device Information (please complete the following information):

debanjandhar12 commented 1 year ago

Somewhat resolved in v3.2.0 (not fully - there still exists a edge case where card added via update note will sync later than card added later via created note).

Will look a bit more into this issue.