[Userscript] Wanikani Heatmap

works like a charm now and looks all new and fancy - thank you! :slightly_smiling_face:

2 Likes

Yes, The greasyfork version displays.

First commenting on the reviews pop-up.

heatmap4

  • What is the +168 number in the upper right corner? There is no indication of what it is.
  • The horizontal series of squares doesn’t show any reviews no matter which square I hover the mouse over. There are 207 reviews that day so there must be some reviews somewhere
  • The times for the horizontal series of squares start at 4:00 and ends and 3:00 the next day. Is there any reason this is not from midnight to midnight? This is confusing. Edit: I have found the settings. I think the default for a new day should be 0:00 to match the calendar day. This information displays on clicking on a day after all. It is nice to let people working late at night be able to change this settings though.
  • Will the squares with some reviews be of a different color that the square with no reviews? This will allow to locate the relevant squares without have to hover them all.
  • I think the SRS info needs subheaders for the two columns. The resulting layout will be ugly but not understanding what the numbers mean is worse.
  • The additional popup for the SRS info is truncated because some of it falls off the screen limits. If the popup displays below we are allowed to scroll to view it. When it appears above it is not possible to scroll to see information hidden by the WK top bar.

heatmap5

Now commenting the lessons popup.

heatmap6

  • Same problems with the horizontal squares. There are 30 lessons that day and none of the squares show any lessons.
  • Again I wish for a different color for the hours where there are lessons.

Now reporting on the main lessons and reviews screens.

  • The max number of lessons/reviews doesn’t show which day the maximum occurred. This information used to be shown on the heatmap V2. This information would further clarify that 'Max" refers to the maximum achieved on a given day.
  • You should display the full year eg 2020. Showing only 20 with a popup for 2020 doesn’t achieve anything.
  • I like that the streak information is now present in the days popups.

Now commenting on the settings.

  • I like the ability to select where in the page the heatmap will display. I have a user of my Item Inspector that wants the heatmap above Item Inspector. This will solve their problem.
  • The day of week labels are located far from the heatmap. This is ugly and makes the labels harder to use.

  • The default colors for level up and current day are the same. It would be better if they are different. I think this design works well.
  • I like the new interface for choosing colors in reviews, lessons and forecast.
  • Perhaps the forecast should be called review forecast to clarify what it is. At least this should be in the explanation popups.
  • What is the ā€œShow next year inā€ option in the forecast? I can’t figure it out from the explanation popup.
  • How does the auto range feature work? I suppose you select the colors for the first and last interval and the other are generated automatically. It would be good if the explanation popup says so.
  • What does the gradient option do? i can’t figure it out from the explanation popup. I turn it on and off and nothing seems to happen.
1 Like

I agree with this. The popup makes it harder to click the collapse previous year button :sweat_smile:


Btw, I couldn’t find a setting to change the background color :eyes: ? Would be nice if I could have a light version, since the rest of my dashboard is light too :slight_smile:

Also just a little note about the popup: works fine with the colored boxes and stuff for me

image

4 Likes

There is a hover tip, though

Hmm. I thought I fixed this. I can’t see anything like this on my heatmap. Would you mind sending me an API key so I can check it with your data? kumi@kumirei.com

The default actually is midnight, it’s just that you tried the older version where I hadn’t implemented the settings interface yet and was testing settings by changing the defaults. For new users it’s midnight.

They should, yes. This is a bug

Yeah, that might be what I’ll have to do. I’ll think about and do some test.

Ah. Had not noticed that. Maybe I should put it back below

Hmm. Could you try putting this in the console and refreshing? It will reset your settings to default. Maybe there’s some issue with the settings rather than the data.
wkof.file_cache.delete('wkof.settings.heatmap3');

I was hesitant to add that because of the length, but you are right

Hmm, I’m not sure I agree with this. I guess it can be a bit confusing if you only have one year showing. I will have to think about this.

I will see what I can do about this. When you have a full year displaying it will be in line with the map, and changing that might look weird when you have one partial year as well as a full year.

You’re right. I like having them both the same, but I haven’t been leveling regularly for a long time now. Having separate colors makes sense.

Good idea!

I agree that this is a bit confusing, I really couldn’t think of a good label. The thing is that burn reviews are scheduled 4 months ahead, but if you get to December with only 2020 showing, you will be missing out on 3 months of forecasting. This setting allows the user to choose when the new year (2021) should show up on the heatmap. If you set it to September it will show up already, and you will see a few reviews scheduled for the beginning of January.

The auto-range feature just changes the interval bounds based on quantiles. You choose the colors however you please. Let’s say you have 4 colors. If you auto-range it, the script will choose intervals so that there are 25% of days of each color.

The gradient makes it so that a day can take on any color between the colors specified for the interval. If you have the intervals [0, Blue] and [100, Green], a day with 50 reviews will be neither blue nor green, but turquoise.


Thank you so much for all the feedback. I will go over all of it and make sure things make sense

2 Likes

I will reconsider!

Oops! This is actually bug. I was working on fixing it, but got sidetracked. I need to make it so that the year pop-up doesn’t appear when you hover the collapse button

Sure! I was actually going to add ā€œthemesā€, but in the end I thought it looked fine with ā€œdark modeā€ even on the native dashboard. If you think it’s too dark though I will add it!

3 Likes

It does look nice, I think it’s just me being used to the color changing automatically with Breeze Dark on/off, haha. But I do think it would look better with a light version too :caught_durtling:

Off

On

4 Likes

I must be blind. I missed it. But what is a ā€œNet progress of SRS levelā€? Perhaps a short example would help clarify things.

email is sent.

Done. There is no effect. All lessons squares still show 0 lessons. Same for reviews squares.

I can’t think of a good label for this either. Perhaps an explanation in the popup will do. How about automatically start displaying a new year when the forecast spills over?

Understood. I suggest to put this in the explanation popup.

Understood. I suggest to put this in the explanation popup.

You are welcome. The new heatmap looks great. Thank you for all the hard work making this available to us.

A full fledged theme might be going overboard. I think a setting for the background should be good enough. I have the native dashboard and I like the lack background. The old heatmap grey background is good too.

Edit: I didn’t think of people having themes. Adjusting to peoples’s selected theme can make sense.

3 Likes

The way I understand it, if your SRS had a total increase of 42 stages over all items, and a total decrease of 50 stages over all items, the net progress would be -8.

2 Likes

Nope - now there aren’t any days where it works even partially - May 10, 2019 now shows zero everywhere.

Bug report: If you add an interval for colors in the settings, there’s no hex value displayed on the color.

1 Like

Exactly! I like using this to gauge how well my reviews went

Hmm. Maybe it has something to do with timezones. I checked May 10, 2019 specifically and it showed up correctly for me. I will have another look.

2 Likes

I’m on UTC-5, but the days before and after don’t work either, or any other day for that matter…

Bug Report #2: If I set the start date to a value, the day count on WK should adjust to this… it says my start date is day number 293…

Question: Before I do reviews, e.g. today, it still says I have a streak… is that intentional?

1 Like

I thought it might be nice to be optimistic, but it probably should say zero

1 Like

Maybe include the optimistic streak as a hovertip or in parentheses or something?

1 Like

Bug Report: After changing the start day of the week, the labels make no sense…
In addition, the last day of one month and the first day of the next are shown in the same row for September…

3 Likes

haha that’s a funny one

Interesting

2 Likes

I am on UTC-5

1 Like

The new heatmap looks great, love the support for gradient coloring and the more detailed per day statistics.

I did notice a slight bug in the review totals displayed at the bottom:

While the review counts for the day and week are accurate, the other counters seem to be slightly off. The total number of reviews (4286) seems to match the number of correct reviews instead of the true total, however much I might wish those two would be the same. I’m still not completely sure what the number of reviews this month is exactly, it seems to be slightly off from both the total number of reviews and the total number of correct reviews. The counter for this year shows zero, which might be because I started this year. The total for the ā€œthis yearā€ time counter also says 0h, which I assume is caused by something similar.

2 Likes

Will look into it

The heatmap counts the number of reviews the same way as WK does. It treats the reading and meaning as one review. Answers and reviews are not the same thing on WK

2 Likes

bug report. haven’t seen this so far in the thread and again something to do with date like it did previously (console seems happy though):

image
shown on every day for reviews as well as lessons

1 Like

I completely forgot about that, I divided the total number of reviews by 2 and ended up slightly higher, for some reason I forgot that you can enter both a wrong reading and a correct meaning or vice-versa.

Thanks for working hard on this one, I really like how the heatmap is turning out.

2 Likes