If you like the new extra study feature, but think that the positioning of the ui item isn’t convenient or hides other stuff, this script is for you.
Features
After adding the script, a small cog will appear in the corner of the extra studies panel. Clicking on this will let you set the position and the style of the panel and possibly remove the info questionmarks.
If you want a different position or style, or one of the existing ones is acting up for you, feel free to leave a reply, preferably with an example image, and I’ll see what I can do
For userscript authors wanting to support the script
I’ve added some classes to the extra study element to signal that extra study mover is in operation. These are:
es-mover: the script is running
es-mover-header/top/above-lp/…: The exact positioning of the box
es-mover-normal/reduced/minimal: The current style of the box
Changelog
v0.5.0: Added a none option to the position
v0.4.2: Bumped CIDDWA dependency
v0.4.1: Fixed several smaller bugs
v0.4.0: Big compatibility and code changes
v0.3.3: Removed the leftover button from the user menu
v0.3.2: Solved some minor issues and added dashboard compatibility for header mode
v0.3.1: The header option is now a dropdown with all the buttons inside
v0.3.0: Now there’s an option to put the buttons in the header
v0.2.2: Now supports breezy dark out of the box
v0.2.1: Below item breakdown was missing
v0.2: You can now select the positioning and the style
Ah yep - it does indeed seem to be Breeze Dark. As you say, I’m using below lp reduced. Here’s the link to the dark mode script, but I’ve also found that changing the margin on line 48 of your script to 0px fixes it, so don’t worry too much about it. Thanks!
Disclaimer:
There’s a surprising lack of space in the header if you also scroll down. If you have any other userscripts that put in buttons, it might not look so hot.
With this mode the settings button will be moved to the user menu (click profile picture).
My only concern is that WK could add more categories to Extra Study in the future. You might consider making it a drop-down something like the Levels dropdown (bonus: takes even less space!)
That’s actually a great idea, I don’t have the time to implement this today, but maybe next week sometime. Would solve the settings placement issue too.
@Kumirei I’ve taken steps to make sure all the buttons make their way into the dropdown, as long as a userscript inserts buttons in a similar way, you did, it should work out fine
@Sinyaven I made sure to support the audio button userscript as well, in the future if you change the userscript and want to support extra study mover, I’ve added the class “es-mover” to the .extra-study node