AnKing-VIP / ankiweb-placeholder

2 stars 2 forks source link

New Card Counter not counting total new cards learned today #107

Open guesswho1234555 opened 3 months ago

guesswho1234555 commented 3 months ago

New Card Counter

I used Anki to study for STEP 1 and had almost all my cards unsuspended. After the exam, I suspended all the cards and used the “Forget” feature in Anki. Now that I'm studying again, I'm unsuspending the cards I reset with the “Forget” feature.

My problem is that I relied on the “New Cards Counter” add-on to track my progress. However, this add-on does not show the cards I reset with “Forget” in the “Total new cards learned today” row. Only completely new cards that I've never seen or reset with “Forget” are displayed.

I don't want to reinstall the whole deck because I've added a lot of information in the Lecture field. What should I do?

Version ⁨23.12.1

image add ons config home page

damronatron commented 3 months ago

I just tried this with Anki 24.04.01. I deleted whatever version of the addon I had and reinstalled v0.2 from the AnKing VIP website. I did 3 cards. 1 new card that I have never done before and 2 cards that I previously studied and reset. The New Card Counter only registered the 1 new card that I had never done before. I even tried resetting a card, suspending it, then unsuspending it, and nothing changed. CleanShot 2024-06-20 at 13 58 43@2x

AnKingMed commented 3 months ago

I think it's because the addon uses Anki's built in "first time". @abdnh is there any way around this?

abdnh commented 3 months ago

Yes, this is due to how Anki's introduced query work. Fixing this appears to be tricky and will affect performance.

@damronatron If you don't care about losing review history, you can use the Remove card history add-on as a workaround.

damronatron commented 3 months ago

Yes, this is due to how Anki's introduced query work. Fixing this appears to be tricky and will affect performance.

@damronatron If you don't care about losing review history, you can use the Remove card history add-on as a workaround.

@abdnh I used that addon to remove my card history and then did a card and the New Card Counter did register it. Although anki has to do a full sync anytime you remove the card history, but this does seem to be an acceptable work around.

AnKingMed commented 3 months ago

@abdnh would it be better to address this on Anki's side?

guesswho1234555 commented 3 months ago

Thank you for helping figure out a work around. Hope that this is something that can get patched more fully in the future

abdnh commented 3 months ago

would it be better to address this on Anki's side?

Probably, not sure whether the performance would be acceptable though.