ll-in-anki / find-missing-words

Find words in a text that you don't have Anki flashcards for yet
14 stars 0 forks source link

Text Area for Missing Words Feature #1

Closed cofinley closed 4 years ago

cofinley commented 4 years ago

Separate features into window tabs for future use.

Also:

ohare93 commented 4 years ago

Hey, nice stuff 👍

Alright I guess I need to actually build the project then. Got some tips for that? I know there's the documentation here: https://apps.ankiweb.net/docs/addons.html Is there anything specific your test project needs before I can run it? Into the world of Anki extensions we go!

cofinley commented 4 years ago

I’ve included something in the readme for Windows. I have yet to find a faster way to develop besides reloading Anki each time :/

No building necessary, the repo just needs to be in the addons folder as is (symlink is easiest for development, as seen in readme).

There is Qt Designer which is like a live preview of Qt stuff, but I’m not sure if we can take advantage of it. Anki has their own Qt library instance that is only exposed by running Anki. We could maybe develop the UI portion faster with a regular Qt library installation (different import statements), then change the import statement on a build so it will work with Anki’s version. Not sure how far that’ll take us though.

cofinley commented 4 years ago

This discussion post gives me some hope. Namely this addon reloader plugin and this guide (vscode and pycharm discussed).

cofinley commented 4 years ago

I also added a dev styleguide type of document to the wiki: https://github.com/ll-in-anki/anki-LL/wiki/Qt---Notes-and-Guidelines

ohare93 commented 4 years ago

Looking good so far, can confirm the window looks good 👍

Though I am having troubles setting up my python environment to get some proper error messages. Some of the requirements are just refusing to install, and stealing away the precious little time I have while on holiday.

I'll have it all sorted by the time I get back in a week! 👍 Good efforts so far, I look forward to helping soon.

Edit: Feel free and merge this in at your own leasure!

cofinley commented 4 years ago

Sounds good. I can help out with errors if/when you want. But definitely enjoy your holiday instead of troubleshooting :)

I’ll go ahead and merge then.