[Userscript] Reorder Omega

With Reorder Ultimate 2 not being supported anymore, I look around if there is an alternative from time to time and I was quite happy to find your Omega yesterday! I just tried it out and I have to say I quite like it. The possibility to make presets and to filter items is definitively great!

There is only one thing I am really missing at the moment: I prefer doing reading and meaning back to back, but when I get an item wrong, I like to send it back to the queue to be asked again later instead of putting the right answer immediately after the mistake (I feel it helps me to remember it better). With Reorder Ultimate 2 there was the Force reorder button I could use to that effect. With Omega I realize there is a shuffle action, but there doesn’t seem to be a possibitilty to just shuffle the elements that are currently in the queue (like when you filtered the first 30 items, got a few right and then only want to reshuffle the remaining items), or am I missing something?

Since I am quite used to doing things this way, I will go back to Ultimate 2 for the time being, but I will follow how Omega will progres in the future with great interest!

1 Like

That’s a tricky one. When Back To Back is enabled there is no randomization because that would invalidate sorting. As such I can only see three possible resolutions: sending the review to the back of the active queue (you will see it exactly 10 reviews later), sending the review to the back of the whole queue (could be thousands of reviews later), or sending the review to a random spot in the queue (11+ reviews later). I am not inclined to implement a button or any other way for a user to shuffle a queue in the middle of a session (though this could actually be achieved by switching preset and then switching back, provided your preset has a shuffle action in it), as that should not be necessary when you have presets.

Adding an option for what to do with incorrect answers when Back To Back is enabled is not a bad idea. I would like to hear what opinions other people have about this, but it would be simple to add a drop down option where you can select if you want to just do the review again, or either of the three options I listed above.

1 Like

I quite agree with avoiding to have a button. I mean the hovering over buttons in Ultimate 2 to get information about the items in the queue is a nice touch, but at the same time the screen gets horribly cluttered by all the buttons it adds. Even being used to the old ways I think the Omega solution with presets + clean representation on screen is much better.

So to me, a drop down selection in the settings menu feels like a great way to handle incorrect answers when back to back is enabled. It would also be an improvement over the Ultimate 2 way, since I wouldn’t have to press the force reorder button anymore every time I get something wrong.

1 Like

For whatever it’s worth, this was a quite common complaint I heard about 1x1 on Reorder Ultimate 2. I never thought to suggest hitting the Force Reorder button, though. (I personally didn’t mind it staying on the same question until you get it right, but I also didn’t use the Item Info.)

1 Like

Hmm, new console errors. They appear every time I submit an answer in self-study extra study mode. All seems to be working though, so maybe not important?

1 Like

I’ll look into it

1 Like

So when I use Reorder Omega to do my lessons, once I get to the lesson screen it freezes and goes into an infinite loop. I have to turn it off so I can do my lessons, or do them on my phone. Not sure why this happens.

I have some other scripts, so it might be related to that, but the lessons work once I turn off Reorder Omega.

Based on the console, I thought it might be related to the User Synonyms script? But this is what it looks like once Reorder Omega is turned off. Same commands, but it works this time

1 Like

That’s interesting. I’ll likely be tied up for a couple of days more before I get back to scripting, but I will look into it

1 Like

You could try disabling/uninstalling Lesson User Synonyms 2 and installing Lesson User Synonyms 3 instead and check if the problem still occurs.

2 Likes

I’m sorry, but I haven’t been able to reproduce this issue. I saw that error a couple of times during the development of the script, however it was always in Self-Study and due to something that I don’t do for regular reviews. I am a bit at a loss for what could be causing this. I think that honeybadger error is a red herring. If you look at the network tab in the developer tools (a tab just like console) when you submit an answer, do either of the (two) requests sent out take a long time to come back?

I’m not sure if it would (or could) cause any issues, but do you have compatibility mode enabled? (it is not needed for this script)

Nope, compatibility mode not enabled.

The issue obviously decided it doesn’t want to happen right now just when I need it to! But I’ll keep the network tab open for the next few days to catch it when it does and will let you know. I am consistently getting this error on every submit, but it doesn’t seem to be causing issues so probably irrelevant?


Thanks for all your effort!

1 Like

Yeah, that’s just due to Self-Study being a hack, shouldn’t be an issue

1 Like

Did you end up trying Sinyaven’s advice?

Do you still have script compatibility mode enabled? I have noticed that having it enabled causes that to misbehave. I suspect a race condition. Although unless you need compatibility mode on you might just have to turn it off to fix it.

These are still there for me. What browser are you on?

Nope, both seem to be fast even when having the issue - they’re sent out on the first enter press and take only a few hundred ms, and after that I still have to press enter multiple times more before it finally continues onto the next item.
(Screenshot of network tab when issue on standard reviews)


I suppose it’s not out of the question that it’s nothing to do with Omega, it’s just I’ve tested extensively with it on and off and the problem only ever happens with it on!

In any case, unless you can think of any other information I could give you which might help find the source of the issue, don’t worry about it. I’ll disable Omega on everything except self-study and just accept it there :sweat_smile:

1 Like

I’ll have another look at it this week

1 Like

Hey, I want to let you know that I have encountered this problem in my own reviews. When using lightning mode (through Double Check) it manifests as a delay before moving on to the next item. This is presumably the same issue as you have been experiencing. So far I have not looked into it any further, but hopefully I will be able to track it down now

1 Like

I’m not sure if it is the same issue as you are experiencing, but the issue that I have found is indeed due to the script not taking advantage of WK’s caching. Are you experiencing this when your queue is less than 110 items? At that point WK’s caching kicks in by default (in a sense), and I don’t experience the issue anymore.

2 Likes

Hmm, I couldn’t say for sure but that would definitely explain why it only happens occasionally lots of times at once. And I do think I remember it always happening with a longer queue!

2 Likes

Also it would only happen when you’ve completed BOTH the meaning and reading question for an item

1 Like