sillsdev / flashgrid

Other
5 stars 4 forks source link

Add ability to limit which card types get grids #7

Closed pconstrictor closed 9 years ago

pconstrictor commented 9 years ago

Currently we are doing nothing to affect which card is selected next. Anki simply gives us the next card in that deck's queue.

Some card types may not display properly in a grid or may not benefit from a grid. One example is any card that asks you to type and then checks your answer. It will display fine in FlashGrid, but you have to cancel the grid popup if you want to actually do the typing. So, it would be good to be able to only enable FlashGrid for certain card types.

pconstrictor commented 9 years ago

This is a bit of work because it involves a new dialog with a generated multi-selection list. For now, I've just added a menu item that help the user see how to manually drill on a single card type.

One option would be to still show the card, but to not pop up the grid unless it's among the card types the user considers "grid-compatible". That's not really what is desired, though.

pconstrictor commented 9 years ago

There is now a menu item that helps the user to manually custom-drill on one type of card. (Note: the only auto-generated part is the deck name. The rest is constant; i.e. hard-coded.)

card:"Comprehension" note:"Word" deck:"Indo Vocab"

The user can delete the card part if they just want to limit it by note type. Or they can replace "Word" with "Sentence" or whatever.

pconstrictor commented 9 years ago

Ellen tested Anki's filtered deck feature today and said it works well.