[Userscript] Wanikani Heatmap

Could it be that Hubbit has set the day to start at a different hour than 00:00? I have mine set to new day starts at 05:00 for example, so I would expect in some instances that things end up looking like they get added to the previous day.

1 Like

Ah - I do indeed have my day set to start at 2am I think. I’ll test when I get back home to see if resetting that to midnight fixes it


1 Like

Good observation. I should make adding reviews account for the offset.

So weirdly none of my reviews done on Tsurukame for the last three weeks have registered on the Heatmap extension. I use Anki mode, not sure if that makes a difference.

Normally I use desktop and Heatmap works fine, but I downloaded Tsurukame while I was at my parents’ away from my computer, and despite reviewing daily those reviews don’t show up on Heatmap.

WaniKani removed the ability to query their API for review history some time ago, so the heatmap extension can only track reviews when you do them on the exact same browser it is installed on.

For the same reason, if you ever clear your browser’s local storage, the heatmap extension will lose all of its review history, because it has to store all of the data there.

2 Likes

Ahhh okay. Damnit.

Is there any possibility they might undo that change if we ask them super nicely?

They disabled it due to performance concerns wherein requests to the endpoint could result in errors. The expectation is that they will be making some sort of change to make the endpoint more robust and less prone to those errors, but it has been many months with no news about it. The thread is here. It’s not looking like we’ll have a resolution to this any time soon, and we won’t be getting any news on it until such a time as they have a plan or work has already been done to address it.

1 Like

Hi, I just came back to Wanikani. I started around 2017/2018 and I was wondering how much time I spent in those days, so that is why I am here.

So, I have been reading a lot of replies in this thread and I am a bit confused. Let’s make to the point: Is it possible to review all my hours from past years?

update:
It shows some time spent in 2018 and 1 day from 2019, but I can’t see 2017. I know it does not show data before August 2017, but at least, it should show past that date. Should I be able to see that?

Anyways, I am pretty sure I have spent more than 1h 35. Maybe it is not just the days, it is not showing time spent correctly.

Thanks

1 Like

It is able to query when you leveled up from the API (hence the white squares).

I see, every gray square is I leveled up, right. But it is still tracking random days in 2018. According to your quote, it shouldn’t be able to track anything else.

However, it seems it not longer works anymore, even if it shows some random data. So sad Wanikani does not have a native time tracking.

Thanks for your reply

The squares with the white outline are the days where you leveled up. All of the rest of the grey squares are just there since the heat map shows a square for every day in between whatever starting point is and the current day.

I’m not sure about that one, but it looks like maybe you did most of your reviews on another browser (maybe a mobile phone) and very occasionally did a few on this browser you have the heat map installed?

By the way, the API still provides data for lessons, so if you click the “Toggle view” icon in the upper right corner of the heat map to show lessons, you should see all of that information.

As long as I remember It is the first time I have installed Heatmap (I could be wrong tho).

Yeah, it shows some info:

Top:
Days studied: 1% Done daily: 0/21 Streak 1/1126 (1126 is the longest streak, so it knows?)

Below:
Sessions: 19 Lessons: 361 Time: 1h 35m

Oh, actually, based on the pink color, I think those are when you did some lessons. It’ll say “Lessons” at the top of the heat map if that’s the case. Reviews are blue in color.

For example, here is mine. You can see that I didn’t have the heatmap installed for the first couple of weeks, hence no review data (but the white outline where I leveled up are there):

However, here is my lessons which are there:

1 Like

Yeah, pink and purple are lessons

Btw, why is your Heatmap not showing 2023 months before November?

Edit: Never mind, that is why you started in November.

I just found I registered on Mar 28, '18 and no data is showing before that. I was wrong about 2017.

1 Like

I didn’t start WK until then.

Also, for reference for anyone else searching, the WaniKani API docs for the endpoint in question are at WaniKani API Reference – Get All Reviews where it has:

This endpoint currently returns no data while we evaluate options regarding the performance of this endpoint.

I love your consistency with the lessons, you’re way better with doing your lessons daily than me :rofl:

2 Likes

I think WKOF only lets you see the first 3 levels if you’re not subscribed

v.3.1.2 Finally fixes the longstanding bug where the Heatmap wouldn’t load if you didn’t have any registered reviews. This has really been an issue since the very beginning, but no one encountered it before they took away our historical data


5 Likes

So, what happens now if someone hasn’t done any reviews since installing it? Just an empty map?

1 Like