corollari / ankiTab

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

Option to 'auto-sync' after review #20

Open masteranza opened 5 years ago

masteranza commented 5 years ago

I think this is a bit more important to keep the reviews fluid.

corollari commented 5 years ago

By auto-sync, you mean syncing with ankiweb?

masteranza commented 5 years ago

Yes.

corollari commented 5 years ago

Hmm, how do you picture that working? Something that automatically detects when a person is done reviewing cards and syncs (if so, how should we go about detecting that?)? An on-page button that allows you to sync?

masteranza commented 5 years ago

Event on closing the tab could probably be percieved as an overkill. Button that’s always in right hand corner and then in the middle when the review is over would be enough I guess.

corollari commented 5 years ago

I've implemented this feature as a simple button on the upper right hand corner. I'm not sure if I understand you properly, but if what you mean is that the button should move to the middle when the review is over then I'm not sure how to go about doing that, as I for example end my reviews by navigating to another page so it wouldn't be possible to do that.

masteranza commented 5 years ago

I've just checked the version you've pushed and it's almost exactly like I wanted it, except that the 'Sync' button is gone after the review is finished (and it's the most important moment to have it around). Whether it is then screen centered or still top-right corner is a secondary matter. Thanks!

corollari commented 5 years ago

Hmm, could it be that you're using the answer-redirect branch?

masteranza commented 5 years ago

I’ve returned to the version from chrome extension store since you’ve updated it to mathjax support.