Should work pretty much the same, but uses much more object orientation and a somewhat planned structure! :sweat_smile: rather than the hodgepodge that I originally created :scream:
Hopefully this will make it easier for others to add their own changes!
Some changes include:
Json representatons refactored to Yaml
CrowdAnki files have their own Yaml representations and classes
No longer needs to write DeckParts to a file (but still can, as Yaml)
A file and path will be automatically created where they do not yet exist on write
Yaml verification using Yamale
It has been a mammoth task, and I am just happen that everything runs again. Now that this massive restructuring (rewriting?) is complete I think I can make headway on the wildly important tasks that have been lining up! :grin:
Some tidy up tasks from this restructure I have yet to finish but are not necessary to release, which I will make an issue for, include:
Remove dependency between File Manager and Media files.
Set which media folders to read in the builder file instead.
Remove the global config
Fix the hundreds of unit tests that broke due to this change
Deck Part Notes have a new Yaml structure, but never group themselves by Note Model / Tags, as they were intended to do. Implement this as an option in the deck_part_from parts.
Flags are supported in Deck Part notes, but cannot be written to Csvs. Make this possible, but Tags and Flags not necessary.
@rcshadman fyi, as I see you have forked, big changes have occurred! :grin: these changes will make it much easier to understand and develop on top of, if that was your intention :+1:
Should work pretty much the same, but uses much more object orientation and a somewhat planned structure! :sweat_smile: rather than the hodgepodge that I originally created :scream:
Hopefully this will make it easier for others to add their own changes!
Some changes include:
It has been a mammoth task, and I am just happen that everything runs again. Now that this massive restructuring (rewriting?) is complete I think I can make headway on the wildly important tasks that have been lining up! :grin:
Some tidy up tasks from this restructure I have yet to finish but are not necessary to release, which I will make an issue for, include: