# \[Unsupported\] Userscript: Dashboard Level Progress Detail (srs stages on progress bars)

**URL:** <https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119>\
**Category:** API And Third-Party Apps\
**Created:** [October 31, 2017, 1:42am UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119 "2017-10-31T01:42:06Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![valeth](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/valeth/32/625496_2.png) [@valeth](https://community.wanikani.com/u/valeth)\
**Post date:** [November 7, 2017, 9:30am UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/21 "2017-11-07T09:30:50Z")

</div>

I’m getting a reference error on init in Firefox 56 and Chrome 62.

![Screenshot_20171107_102937](https://global.discourse-cdn.com/wanikanicommunity/original/3X/8/1/81bf0ee8996012f85c5577689a6af452e4168278.png)

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [November 7, 2017, 2:56pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/22 "2017-11-07T14:56:58Z")

</div>

I’ll put this on my todo list. Should be doable to maintain the kanji and radical items.

---

<div class="post-metadata">

**Author:** ![OtakuShowboat](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/otakushowboat/32/65229_2.png) [@OtakuShowboat](https://community.wanikani.com/u/OtakuShowboat)\
**Post date:** [November 7, 2017, 3:15pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/23 "2017-11-07T15:15:14Z")

</div>

I had the same sort of issue. Did some manual edits to the style. Used chrome’s element inspect tool to display what parts of the css were killing the colors. It was mainly due to an opacity applied to a ton of items including progress bars classes. Removed the progress bars reference and adjusted the margins a little (though still not quite perfect).

 ![Edited Breeze Dark](https://global.discourse-cdn.com/wanikanicommunity/original/3X/d/5/d569502902eb5969655daf276d5f20691f2b46ed.jpg)

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [November 7, 2017, 5:02pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/24 "2017-11-07T17:02:25Z")

</div>

I’m not sure why this would be. @valeth. :s

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [November 7, 2017, 5:03pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/25 "2017-11-07T17:03:47Z")

</div>

If there’s a style fix that also doesn’t break the default styling, I’m open to CSS submissions. Thanks, @OtakuShowboat, @Powerpuncher.

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [November 7, 2017, 5:06pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/26 "2017-11-07T17:06:38Z")

</div>

Oops. I found the bug. Let me know if it’s fixed now. @valeth.

---

<div class="post-metadata">

**Author:** ![OtakuShowboat](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/otakushowboat/32/65229_2.png) [@OtakuShowboat](https://community.wanikani.com/u/OtakuShowboat)\
**Post date:** [November 7, 2017, 5:54pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/27 "2017-11-07T17:54:47Z")

</div>

Well, the issue with Breeze Dark is that it marks a ton of stuff as !important. Some of your styles used in the script are being overridden by those. Test out marking your opacity settings with !important. That may clean up the color issue with Breeze Dark at the least.

Edit: Mark the background image as !important, too. Breeze Dark removes background images from basically everything. That’s the culprit of the lack of colors. The opacity settings should also be !important (for the Apprentice level items, at least) in order to override the flat 0.75 set by Breeze Dark.

---

<div class="post-metadata">

**Author:** ![Kumirei](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/kumirei/32/480522_2.png) [@Kumirei](https://community.wanikani.com/u/Kumirei)\
**Post date:** [November 7, 2017, 7:15pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/28 "2017-11-07T19:15:18Z")

</div>

Overrides the [vocab progression script](https://community.wanikani.com/t/userscript-vocabulary-for-dashboard-panel-1-1-5/15905) which also appends to .progression. Not sure how it does it, but the vocab script does not work with this one.

---

<div class="post-metadata">

**Author:** ![Powerpuncher](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/powerpuncher/32/231125_2.png) [@Powerpuncher](https://community.wanikani.com/u/Powerpuncher)\
**Post date:** [November 7, 2017, 7:39pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/29 "2017-11-07T19:39:21Z")

</div>

A simple tooltip that tells you the SRS level and how many items are in it.  
As a bonus, it’d be nice if the items were show as well.

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [November 7, 2017, 8:28pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/30 "2017-11-07T20:28:06Z")

</div>

That will be easy to implement, @Powerpuncher. Not sure about tooltips including the subjects too (it could be a long list).

---

<div class="post-metadata">

**Author:** ![valeth](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/valeth/32/625496_2.png) [@valeth](https://community.wanikani.com/u/valeth)\
**Post date:** [November 7, 2017, 8:51pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/31 "2017-11-07T20:51:36Z")

</div>

The reference error seems to be fixed, but I’m getting a different error now.

![Screenshot_20171107_215103](https://global.discourse-cdn.com/wanikanicommunity/original/3X/f/4/f44dba111db3b6b13dd7fedfd5369962275a8935.png)

---

<div class="post-metadata">

**Author:** ![valeth](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/valeth/32/625496_2.png) [@valeth](https://community.wanikani.com/u/valeth)\
**Post date:** [November 7, 2017, 8:56pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/32 "2017-11-07T20:56:39Z")

</div>

Did you mean `window.WKHelper.api_key_v2.length !== 36` in the comparison?

 ![Screenshot_20171107_215536](https://global.discourse-cdn.com/wanikanicommunity/original/3X/1/5/15116793cf3b236ebc11ed47f5d4f083b792ae3d.png)

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [November 7, 2017, 9:16pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/33 "2017-11-07T21:16:07Z")

</div>

Yep. I did. Thanks for the find. I fixed it.

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [November 7, 2017, 9:18pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/34 "2017-11-07T21:18:02Z")

</div>

I updated the OP. There are now tooltips showing the level name and counts, and also a bar to show what is locked.

---

<div class="post-metadata">

**Author:** ![Kumirei](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/kumirei/32/480522_2.png) [@Kumirei](https://community.wanikani.com/u/Kumirei)\
**Post date:** [November 7, 2017, 9:29pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/35 "2017-11-07T21:29:26Z")

</div>

I don’t think emptying `.progression` is the right way to go here, since that interferes with other scripts. If possible I think you should just replace `.radicals-progress > .chart` and `.kanji-progress > .chart` and append the other bars to `.progression` below them.

Oh, and adding !important to the color and the background in your HTML solves the Breeze Dark conflict.

---

<div class="post-metadata">

**Author:** ![valeth](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/valeth/32/625496_2.png) [@valeth](https://community.wanikani.com/u/valeth)\
**Post date:** [November 7, 2017, 9:59pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/36 "2017-11-07T21:59:32Z")

</div>

It’s working now, but I don’t think I will use it in it’s current form.  
Like @Kumirei said, emptying `.progression` leads to all kinds of issues, like Dashboard Progress Plus (which is another script I absolutely need) being overwritten completely.

I think the better approach would be to just modify/override the `.progress` content directly, as this is pretty much the only thing that needs to be changed.

Also, (in order to make custom styling easier) I would appreciate if you could apply some class to the bars.  
Something like `.bar-apprentice1` or similar.  
It can still be targeted by CSS, but it would make the whole thing a bit cleaner.

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [November 8, 2017, 2:09pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/37 "2017-11-08T14:09:16Z")

</div>

I’ll stop it emptying `.progression` sometime soon. Thanks for your feedback!

---

<div class="post-metadata">

**Author:** ![jprspereira](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/jprspereira/32/389740_2.png) [@jprspereira](https://community.wanikani.com/u/jprspereira)\
**Post date:** [December 14, 2017, 3:05pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/38 "2017-12-14T15:05:09Z")

</div>

For some reason, it seems that the script is not working 🤔 I just did 12 Kanji lessons and they weren’t added to the lvl 28 kanji bar.

 ![image](https://global.discourse-cdn.com/wanikanicommunity/original/3X/5/1/511ab825bf0a8b917f2ed1516cfa6c3e79d40db6.png)

---

<div class="post-metadata">

**Author:** ![hitechbunny](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/hitechbunny/32/70848_2.png) [@hitechbunny](https://community.wanikani.com/u/hitechbunny)\
**Post date:** [December 14, 2017, 4:09pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/39 "2017-12-14T16:09:32Z")

</div>

Thanks for pointing this out. It looks like my site is having performance issues. The script retries if the response takes longer than 3 seconds, and most of the progress bar requests are taking longer than that. ☹ I’ll dig into it on the weekend.

---

<div class="post-metadata">

**Author:** ![Kumirei](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/kumirei/32/480522_2.png) [@Kumirei](https://community.wanikani.com/u/Kumirei)\
**Post date:** [December 14, 2017, 11:21pm UTC](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119/40 "2017-12-14T23:21:39Z")

</div>

You haven’t moved away from .empty() yet, right?

[Previous page](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119.md?page=1)

[Next page](https://community.wanikani.com/t/unsupported-userscript-dashboard-level-progress-detail-srs-stages-on-progress-bars/21119.md?page=3)
