[Userscript] WaniKani Dashboard SRS and Leech Breakdown

That would depend on what part of the functionality was in the JavaScript versus the server-side code. For example, the old version technically didn’t break the entire script because it would display cached values when the server couldn’t be reached. But that still seems pretty useless to me. :man_shrugging:

Besides…

I don’t want to use a server. :slight_smile:

Doesnt work, asks for open framework to be installed and yet i have it enabled.

Make sure you have Open Framework first in your list of scripts (check the settings for that script and make sure it’s in position 1).

I’d just create some modal overlay and show the items in questions.

Regarding the script itself, it seems to work. I am just unsure what to do with the information?

It seems I have even 8 leeches in Master. Shouldn’t they unleech at some point? Apparantley I have 66 in Apprentice. So now what do I do with that number?

Never mind i used Adguard extension install instead of Tampermonkey.

Well you can use Self Study and Additional Filters to specifically study your leeches outside of the SRS.

1 Like

I feel like I’m resurrecting a dead post but i have to ask, is there a way for me to see my leeches? without doing a self quiz of course, i just want to see them in a list somehow

Edit: ok I can see from the replies that there is no way, so just ignore me. unless you have another script or something that would be great

I never used that part of the original leech script/website, so I didn’t bother rebuilding it into my version. I think somebody else did recreate that part of the old script, but I don’t know what it’s called. I’m sure if you search the forum you’ll find it.

1 Like

hi, i have an issue with this script where the totals do not match the breakdown, at least in the guru sectionimage

1 Like

Hmm, my numbers match. I wonder if it’s from an item that you did lessons for but were moved to a later level. @rfindley, is there a way to clear the data cache for Open Framework to see if that helps?

that could well be it, i’ve only just started lessons after a leach squashing few months, and there were updates between now and when i started those months

1 Like

If that’s the case, it could mean a bug with Open Framework or the API itself. Let’s see what rfindley says about clearing the Open Framework cache.

Try opening your Javascript console (press F12, then click on the Console tab), paste the following command, and press enter:

wkof.Apiv2.clear_cache(true);

Then refresh. It should reload all of the stored API data. (@seanblue, the ‘true’ tells it to also delete /subjects, which is not user-specific).

1 Like

Great, thanks!

@Orimazer Please let both me and @rfindley know if the numbers are still wrong after clearing the cache. That should hopefully tell us if it’s an Open Framework bug or an API bug.

1 Like

after clearing the cache and refreshing the problem persists. (sorry for the slow response, i’ve only just been able to get back to wanikani).
i’m about to do some reviews, so numbers will change. i’ll let you know if the totals are still off after.

Thanks for the update. I can probably verify if it’s an API issue if you send me an API token (though I have no way for you to send it privately). I would search all your guru items to look for one that’s at a level above your current level and may have been moved from the overhaul.

ahhh, at that suggestion, i had a look myself. i have a now level 54 radical i unlocked back in november and i recently missed burning, putting it at guru! so that would be the 1, then?

1 Like

That does sound like the problem, yeah. Interestingly I don’t even see any radicals listed on level 54. What’s the item?

my mistake, level 52’s frostbite (夌)

1 Like

Thanks!

@viet @oldbonsai it does look like there’s an API bug related to items that were unlocked and then moved to later levels if you want to investigate. See the last several posts for details.

1 Like