Enables reordering of WaniKani review queue items by their SRS levels
This script started is a modified copy of Towe's WaniKani SRS Reorder Button. Their original WaniKani community post can be found here. Most of the credit for this script goes to them! Major credit goes to rfindley aswell for their work maintaining the WaniKani Open Framework!
Below is a list of WK users I'd like to thank for helping maintain this userscript with their technical insight!
- rfindley
- BIsTheAnswer
- Kumirei
This script will add a sorting button to the top-left corner of the reviews page. The button will allow you to sort reviews in either ascending, descending, or a randomized order. The button's icon will update accordingly to indicate the current sorting mode as well.
There is also an indicator added to the top of the page indicating the amount of remaining reviews for each SRS level. These will update as you answer your review questions. If you'd rather omit the counters entirely, it is possible to remove them from the UI by configuring it in the settings panel.
There are two hotkeys registered by default for this script:
Alt
+Shift
+-
: reorder review items by SRS level in descending orderAlt
+Shift
+=
: reorder review items by SRS level in ascending order
These are entirely customizable and toggleable within the settings panel!
Thanks to the WaniKani Open Framework, this script integrates into the common menu panel like other scripts. Two new menu entries will be registered to trigger specific sorting functions on-demand:
These buttons can be used if neither hotkeys nor the one-click button are available.
Leveraging the WaniKani Open Framework, this script integrates into the common menu panel like other scripts. A new menu item will be installed that opens the following settings panel for this plugin:
From here you can customize hotkeys and sorting behavior in a persistent manner.
If every time you start reviews, you'd like them to be automatically sorted, this is possible by configuring a sort order to use on startup. By default, there will be no startup sorting done. Users may choose to have their reviews automatically sorted in ascending or descending order.
This setting can be found under the Sorting
section of the settings panel.
It is possible to hide the sorting button from the UI entirely. This will not remove the sort buttons in the cog menu, nor will it disable the use of hotkeys either.
This setting can be found under the Display
section of the settings panel.
Before installing this script, you'll need both a UserScript engine as well as the WaniKani Open Framework user (click here to install it) script pre-installed.
Once those prerequisites are met, you can click here to have your UserScript engine prompt you for installation. This has been tested to work with the Tampermonkey userscript engine.