-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add an ability to store the content of the fields separately #33
Comments
Hi, is the above issue (evolverine/covid-19-anki-deck#6) a result of what this one is about? |
I don't think it's really what this issue is about. AFAICT (based on the comparison with AFAICT your problem is that you add a field to all the notes in the upstream deck and when you update, your newly added field is removed (since it's not present upstream). What I think might help you most would be #62, which would allow for some fields to be ignored on import/export. Depending on exactly how #62 is implemented (I don't remember what exactly is the current consensus in that thread and the linked PR), if say "method 1." is used, it might allow you to simply add several lines to the "flds" object in the relevant note model(s), along the lines of: {
"name": "MorphMan_FocusMorph",
[...]
"doNotImport": true
} You'd probably need to keep this tiny patch rebased on top of the latest master, but since most of the updates would be in the content, further down in the file, it shouldn't be particularly hard. (What this issue (33) might help with, is having all of the updates to the content happening in a separate file (or files), hence allowing for clean rebases.) (If yet another, not currently suggested, approach is used, allowing for each end-user to set ignorable fields (externally to BTW thanks for bringing up |
I agree with @aplaice, this is not relevant to your issue @aleksejrs. I commented on that issue with my thoughts, as I am also a user of Morphman 👍 Let's talk there, to keep this issue clean. Totally agreed with your thoughts on #62 @aplaice. I have a dirty working version of "Personal Fields" being ignored on import in #72, which I hope to expand in the coming weeks. Happy to discuss how it should work in the meantime, especially if you also want to take a shot at it! 😁 |
Possibly some other parts of the deck as well.
The inspiration is https://github.com/OnkelTem/anki-dm
Use cases:
The text was updated successfully, but these errors were encountered: