FooSoft / anki-connect

Anki plugin to expose a remote API for creating flash cards.
https://foosoft.net/projects/anki-connect/
Other
1.92k stars 218 forks source link

Added various calls for model fields (getting & setting font, setting description) #367

Closed Aquafina-water-bottle closed 1 year ago

Aquafina-water-bottle commented 1 year ago

This PR picks up the work from #362 and #363, and adds the following calls:

Additionally, some helper methods were added to prevent repeated code. So far, only the model field related calls have been changed to use the helper methods.

TODO:

Note:

FooSoft commented 1 year ago

@Aquafina-water-bottle I think that's perfect fine, and is probably in fact a better way of doing things.

Aquafina-water-bottle commented 1 year ago

Some additional notes:

Aquafina-water-bottle commented 1 year ago

This should be ready for review now! The tests that fail seem to be failing at random, so I believe it should be safe to merge if everything looks good.