-
Notifications
You must be signed in to change notification settings - Fork 42
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
Duplicates #8
Comments
This appears to be an issue in the underlying library. repeat-space/anki-apkg-export#37 calls attention to it. Essentially, https://github.com/repeat-space/anki-apkg-export/blob/master/src/exporter.js#L99 appears to show it using the timestamp of generation to create the card ID. I think if it switched to using something like a hash of the deckName and the card front, you could probably avoid the duplicate problem. |
@DHNishi thanks for the investigation. I made a PR over there. We'll see if it gets in! |
Thanks, @amorriscode, and @DHNishi for the investigation and the PR. I'll update the dependency when the PR'll be merged to |
Hey all, sorry for the long time. I've released |
@ashlinchak I made a PR. 😄 |
So I realized now that the update of |
🤦♂ Sorry about that. I suppose the |
Made a new PR based on some of our ideas. Tested it with Not sure if it handles nested decks; that will require more research but it's a start. |
So the issues is still here, are you guys moving on from mdanki? |
This isn't necessarily an issue with
mdanki
, I am just curious how you manage duplicates.For example, I add cards to my repo frequently. Once I am done adding some cards, I run
mdanki
. After this is done, if I just import the file directly I get duplicates in Anki. If I delete the deck and then add the new one, I lose all progress.What does your workflow look like?
The text was updated successfully, but these errors were encountered: