Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Port Anki Desktop study screen

Open BrayanDSO opened this issue 3 years ago • 7 comments

Nowadays, a good part of the desktop's reviewer display logic is done in Javascript, and we can use it with the new backend after bundling the desktop's reviewer js and CSS.

Porting it would reduce flickering, improve performance and probably solve many of the issues about something being displayed differently between AnkiDroid and Anki.

I intend to do it, although it will take some time

BrayanDSO avatar Aug 25 '23 17:08 BrayanDSO

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] avatar Nov 23 '23 17:11 github-actions[bot]

Hi, thank you for the effort to port this. I was just wondering if is there a guestimation as to how long this might take? It is just curious that how come AnkiDroid's Card Preview already has the webview implemented but not the main reviewer. Idk the story behind this, but just learned about this discrepancy btw AnkiDroid's reviewer and previewer views while implementing a somewhat complex card type and got so happy to see that you started this issue for it. Thank you anyways.

imsahsol avatar Aug 10 '24 21:08 imsahsol

I was just wondering if is there a guestimation as to how long this might take?

It depends on my free time and energy, so I don't know.

BrayanDSO avatar Aug 11 '24 00:08 BrayanDSO

Hello! Thank you for doing this first of all!! I'd just like to ask you, there has always been an issue with importing fonts inside cards and then reviewing them on ankidroid where it flickers/takes some time to load (almost always on each card), is that issue already fixed by now or do you intend to address it with this issue? As always, thanks a lot for your efforts!

bewizible avatar Sep 05 '24 04:09 bewizible

@bewizible, could you test if this issue occurs while previewing a deck (Card Broswer > Three dot menu > Preview) that has those fonts?

Theoretically it should be fixed, and the new reviewer and the current previewer use the same "render" mechanism, so that works as a test.

BrayanDSO avatar Sep 09 '24 20:09 BrayanDSO

Hello @BrayanDSO, really sorry for the late reply. Yes it is as you said, previewing those cards has no delay in loading any of fonts (exactly like desktop), however there is still a delay while reviewing those cards normally. I hope this helps!

bewizible avatar Sep 16 '24 05:09 bewizible

Ok, so that means that your problem will be fixed with the new reviewer.

BrayanDSO avatar Sep 18 '24 09:09 BrayanDSO