[Userscript] Dashboard Level Progress Indicator 1.0+

Dashboard Level Progress Detail once again is not being maintained, so I have adopted the script. This is an update to that script.

Install at GreasyFork!

It utilises and is dependent on the Wanikani Open Framework, so make sure it is installed!

What’s new:

  • v1.0.3: Re-render if cache has changed (2020-10-05)
  • v1.0.2: Official setting for requiring 100% learned and the halfway marker, fixes location bug (2020-09-26)
  • v1.0.1: Official setting for border radius and hiding current level items (2020-09-25)
  • v1.0.0: Initial release - Breeze Dark support, constants, round progress (is also a constant), halfway marker, and settings for what progress to show! Now works with new dashboard (thanks to @rwesterhof) (2020-09-25)

Planned features:

  • More settings! At the moment, some of the settings that should be there are just constant variables to modify.

History of how this script got here (this part has nothing to do with me):

  • v0.1.1.6: Minor error corrections (2019-07-18)
  • v0.1.1.5: Fix sorting of display (2018-11-26)
  • v0.1.1.4: Remove bad console logging & remove WK App Store script (2018-10-09)
  • v0.1.1.3: Fixed so it’ll show the non-unlocked items in the currently visible levels (2018-10-03)
  • v0.1.1.2: Fixed so it’ll work right if you’ve just guru’d a level’s kanji to 90% (2018-10-01)
  • v0.1.1: Use WK Open Framework instead of hitechbunny’s backend server, adds 90% marker, etc. (2018-09-18)
  • v0.1.0: Hook into App Store script (2017-11-19)
  • v0.0.3: Add tooltips, and display locked bars. (2017-11-07)
  • v0.0.2: Infinite loop bug fix (2017-11-07)
  • v0.0.1: Initial release (2017-11-06)
14 Likes

Hell ya, looks super good. Thanks man!

3 Likes

Thanks for updating this! I really love the old Dashboard Level Progress Detail script. I was able to change the bar radius constant to 0px in yours to bring it back to the old style of just bars, rather than bubbles (no offense to the new style, it’s cool too).
One thing I spent a few hours fiddling around with the old script to do was keep the default WK level progress section and have the script append the progress bars at the end. I did it in a really weird hacky way since I know nothing about WKOF or js in general, but it worked to let me display my dashboard like this, without having those progress bars appear twice (which happened if I just removed the empty() line)


Is there any chance that this could be a built in feature within the settings menu to not fully empty out the progress section and instead show the progress bars in addition to the base level progress? I like to be able to see all of the individual items for the current level, but be able to get a glance at the progress (especially for vocab) of the previous and current level items.

5 Likes

Released v1.0.1! You can get it on Greasyfork now!

What’s new:

  • Adds official setting for border radius and hiding current level items!

Remember, when you change settings, you need to reload the page for them to take effect. :muscle:

2 Likes

So awesome!! I just decided to look to see if there was something that would show my lingering vocabulary items and I found this right away - love it, love it, love it!! :heart: Thanks for grabbing and running with this. :pray:

1 Like

Hi! Thanks for adopting and improving upon that great Userscript!

It’s working fine for me on WK proper, but here’s something I’ve noticed that might be of interest to you:

I’m getting a weird new error message whenever I try to access the Community Forums from the WK dashboard site.
grafik

The thing is:

  1. I have the WaniKani Open Framework installed. Actually reinstalled the latest version, too.
  2. I’m not using the SRS Grid Userscript, nor did I have it installed (not sure if other scripts run it though)

Here’s what I’m packing:

Playing the “switch the latest installed scripts off and on to see what’s having hiccups” revealed that the Dashboard Level Progress Indicator is trying to run on the community forums as well and that’s what causes the message prompt.


Is it intended to do that? Is it just me who’s having that happen?
What can I do to avoid the unwanted redirect to the Open Framework thread?

For now I’ll just have to toggle the script on and off during durtling on the forums… maybe it’s a sign from the Crabigator that I’m shirking my duties. :cold_sweat:

1 Like

Released v1.0.2! You can get it on Greasyfork now!

What’s new:

  • Adds official setting for requiring 100% learned and the halfway marker!
  • Fixes location bug reported by @MiranTideturner, and adds official support for Preview WK.
3 Likes

Ohhhh! So good, thanks! :heartpulse: :sparkles: :sparkles: :sparkles: :sparkles: :sparkles:

Awesome, thanks for the quick fix! :smiley:

1 Like

when disabling the DarkBreeze theme, I see:

but when DarkBreeze is enabled again, the progress bars are not good-looking:

This is not specific to v1.0.2, it was an issue since v1.
As far as I remember, it was not a problem I’d observed with the original script.

It is related to the shadow-box line in my copy of the DarkBreeze:

      .progress > .bar > span {
        background-color: #484848 !important;
        border-radius: 5px !important;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7), 2px 2px 2px rgba(0, 0, 0, 0.7) !important;
        color: #bcbcbc !important; }

How did you even create that screenshot? When I use the official WK Breeze Dark in Stylus on Chrome, it instantly switches to the dark background.

Does it work properly with the official Breeze Dark?

In addition, what are you asking to change?

I would like to show that I too would like for some way to still see the progress of each individual kanji like @steelviper77 mentioned. Maybe have a hover-over option that displays a list of kanji with their srs indicator like how it is in vanilla.

Is there a particular reason the current script does render - retrieve and then does not render again?
When coming back from a review session, the old script used to render the cached status (pre-review), then retrieved the updates and rendered again - a visual indication of what you accomplished during the review.
Currently, I need to refresh the page to get the updates. Same after lessons - the display is always of the previous state.

I love the updates you’ve done so far (barring the mentioned one :slight_smile: ). I can now choose to keep the bars visible until all of the items are guru’ed at least once!

Version 1.0.3 is out!

What’s new:

  • Re-render if cached JSON has changed (as requested by @rwesterhof)