Alright, so here is the modified code: Dashboard Level Progress Custom - Pastebin.com
As a quick overview:
I added a Setting “Distinguish beyond Guru”
If this is turned off, you kinda have the current version in which you have different bars for the 4 apprentice levels and then one for guru+.
If it is turned on, you get also different bars for guru I, guru II, master, enlightened and burned (however, since I don’t have enlightened / burned items yet, I couldn’t really test this… The following screenshot shows that master at least works)
I also added a new tab in the settings where you can change the color of your bars:
The default values are kind of arbitrary (they are my current colors, except I somehow messed up and added the wrong default color code to Apprentice which should have been #1d99f3), so they probably won’t go well together with the vanilla style - you might want to change those.
It’s important to note that these are the top colors of a gradient which will always go down to a dark gray, which creates the shadow-effect. This works well with a dark mode but can look a bit awkward in light mode - sadly I haven’t added settings for the bottom color of the gradient yet.
Furthermore I added settings for the Opacity multipliers. This is mainly because lower opacity hits harder in light mode, so users might want to customize that as well.
The other changes mainly exist to keep the promise I made in the settings.
I’m always using the “100% guru right now” option, so I’m not sure how well it works with the other ones.
The actual reason I added in bars for Master+ in the first place was so eventually I’d be able to rework filters. Instead of fixing “90% guru right now” or “100% guru in the past” one could have the user put in their own percentage and then have radio buttons for:
Gurued some day
Guru right now
Master right now
Enlightened right now
Burned right now
I don’t know how useful this is, but I can imagine that later on the definition of “leech” might shift from apprentice to guru