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

~refactor: remove dependency on genanki #457

Open
MartinBernstorff opened this issue Dec 27, 2023 · 0 comments
Open

~refactor: remove dependency on genanki #457

MartinBernstorff opened this issue Dec 27, 2023 · 0 comments

Comments

@MartinBernstorff
Copy link
Owner

MartinBernstorff commented Dec 27, 2023

  • What is the new flow? Probably want to detail this as much as possible.

MemiumPrompt -> AnkiPrompt -> AnkiConnectPrompt

  • Are the methods available on AnkiConnect?

    • addNote
      • (?) What happens if you call addNote with a deck that doesn't exist?
      • deck was not found error. Means I have to handle that as well.
    • updateNote
    • deleteNotes
  • Seems there is more manual handling

    • What if the deck doesn't exist?
      • Have to manually add it.
    • Do I have to infer which notes to update and which to add?
      • Yes, raises an error if a note id already exists. Have to update instead.
@MartinBernstorff MartinBernstorff changed the title refactor: remove dependency on genanki ~refactor: remove dependency on genanki Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant