[Userscript] Reorder Omega

I disabled all other scripts to test this one out, so nothing else was running on the review page while the script was active. Since reorder was the only script still using compatibility mode, I disabled that when I installed this script, so that shouldn’t be it either. I haven’t tested extra study yet, but it seems to happen on review pages and lesson pages at least. I’ve tested a number of presets, including all the default sorting ones, so it happens for any present that modifies the order. The preset I would eventually like to make is one that sorts by level first, then sorts by type, but just sorting by one of them already triggers the problem.

I’m using firefox 98, so I think it might be a problem unique to firefox-based browsers if @shikaji is experiencing something similar.

Yep, that fixes it for me too :grin:

1 Like

Is sorting still not working for you?

1 Like

Version 0.1.12 fixes all issues I had, the script seems to be fully working now :grin:

1 Like

Great! Love to hear it!

1 Like

I just noticed something minor, but I think it might be part of the settings dialog rather than this script. If you open the settings dialog on the review page, and try to type into one of the text boxes (like Edit Preset Name), some keys that are hotkeys on the review page don’t work and trigger their hotkey action instead, for example the “,” key or the backspace key. I think this might be part of the settings dialog rather than the reorder script though.

1 Like

Yeah, that’s a WKOF problem. I ran into it a few times with the Heatmap, too. If it frustrates me enough I might attempt to fix it in WKOF

1 Like

The amount of enthusiasm and excitement in this thread warms my heart.

6 Likes

I was excited myself to post it! Although it’s a bit sad that I will not really get any use out of it with the amount of reviews that I have

4 Likes

If it’s not feasible for @Sinyaven to get the Audio mode script working with Omega because of the different ways they use the queue, might you consider adding an equivalent modifier/setting to Omega @Kumirei? Or would it be a bit too much work to get working?

Idea if you did actually decide to incorporate it If you made it a modifier (so, a "conversion to audio -> meaning question" modifier), it could be paired with the "freeze and restore" and other modifiers to, for example, end up with only burned items, with audio -> meaning questions for vocab and standard questions for the leftover kanji. Only an idea of course, I've no idea how hard it would be to implement!

Thanks for all the work you both do on these scripts! :slight_smile:

2 Likes

I’m using the latest 0.1.14 version and it’s getting stuck from time to time. Doesn’t matter how many times I press enter or click the arrow, it doesn’t go to the next item. It doesn’t happen with the reorder ultimate 2 for me (but it has its own problems), so maybe its a problem with the omega. I use like 40 scripts so it could interfere, might try later to disable all of them

1 Like

I’m using the none preset for now

The conversion is a really interesting concept, although it might be a bit tricky to implement. I’ll think about it

1 Like

Could you post a screenshot or a list of the scripts you are using?


Here it is

1 Like

Nothing really stands out as a potential issue. I’ll give it a good thinking tomorrow

2 Likes

Yeah… as far as I know, there’s no way to remove Wanikani’s event handler and be able to restore it after the Settings box closes again.

But I decided to give it another look, and I found a very dirty way of fixing the problem. I don’t like it, but it works. I’ve updated WKOF now.

For those interested, I saw that WK’s event handler checks which hotkeys to parse based on the presence of either “#reviews” or “#quiz” (reviews or lessons page). So, I temporarily rename the element id to “#reviews_backup” or “#quiz_backup”, so WK’s event handler exits without processing the hotkey. And I restore the element name when the Settings dialog closes.

I was pleasantly surprised to find that renaming the element didn’t hose any CSS in the process… though there’s a possibility that Dark Theme may do some funny things.

Oh… I also added WKOF Menu support to Extra Study. @Kumirei

3 Likes

That’s great! I was hoping it would be enough to just stop it from bubbling

I don’t understand what’s going on, but for whatever reason I was unable to stop it from bubbling. It seems to hit WK’s event listener before it hits WKOF. I’m wondering if it has something to do with the fact that WKOF uses jquery, and WK uses addEventListener.

1 Like

I’m having the same problem as @Brunokitano and it’s always at the 10 reviews mark, pressing enter is just doing the animation of counting the current item as correct over and over.
The answer is green, but I can still edit it.
I was thinking about it and I thought that maybe there could be some sort of conflict with the double check script? This “bug” looks awfully close to some situation I’ve had before where counting an item as correct would sort of freeze the review by going over the same item over and over even though it was just counted as correct.

2 Likes

I can replicate it. I’ll see what I can do

edit: @Brunokitano @MrSuntastic I found the issue. It’s related to script compatibility mode. I’ll fix it, but just FYI, this script does not need compatibility mode

edit: Fixed in 0.1.15

2 Likes