corollari / ankiTab

Browser extension that replaces the new tab page with Anki flashcards
https://ankitab.com
The Unlicense
187 stars 16 forks source link

deck page when tab is closed #9

Closed stappis closed 5 years ago

stappis commented 5 years ago

hello! currently, when you close an ankitab (or when you decide to go to a site), the question will still be open on anki... it'll harm the "average answer time" statistic, right? would't it be possible to make anki go back to the 'decks page' when you close an ankitab (or go to a site), or something like that? (sorry for my bad english)

*the title is kinda dumb, it's not necessarily JUST when you close a tab: when you go to a site, too

corollari commented 5 years ago

I would have to check the source code of the anki desktop client to make sure, but I think "average answer time" only changes if you answer the question after it's been open for a long time, just staying open doesn't alter that statistic, so most of the time this shouldn't be an issue. Still, it's possible that people do answer it later, resulting in incorrect data being recorded in anki, which may lead to miscalculated predictions on anki's side, which would indeed be a bug, so I'll fix it.

Thanks for reporting the issue.

corollari commented 5 years ago

The fix is live in the master branch now, I'll release the new version of the extension in a few days. If you want to use the new version meanwhile you can load it unpacked.