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

#23

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).

1 Like

#24

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

0 Likes

#25

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

0 Likes

#26

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

0 Likes

#27

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.

1 Like

#28

Overrides the vocab progression script which also appends to .progression. Not sure how it does it, but the vocab script does not work with this one.

0 Likes

#29

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.

1 Like

#30

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

0 Likes

#31

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

Screenshot_20171107_215103

0 Likes

#32

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

2 Likes

#33

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

0 Likes

#34

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

1 Like

#35

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.

3 Likes

#36

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.

6 Likes

#37

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

2 Likes

#38

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

0 Likes

#39

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. :frowning: I’ll dig into it on the weekend.

1 Like

#40

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

0 Likes

#41

Correct. I haven’t made any improvements to this script recently. I’ve been focusing on the leech training script and the app store script.

0 Likes

#42

I would like to see just one little update: 90% mark for kanji bar. This will be helpful i think.

1 Like