Skip to content

Latest commit

 

History

History
104 lines (69 loc) · 3.73 KB

File metadata and controls

104 lines (69 loc) · 3.73 KB

WaniKani Reorder Buttons

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!

Special Thanks

Below is a list of WK users I'd like to thank for helping maintain this userscript with their technical insight!

  • rfindley
  • BIsTheAnswer
  • Kumirei

Features

The Main Thing

Buttons

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.

Review Counters

Counters

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.

HotKeys

There are two hotkeys registered by default for this script:

  • Alt + Shift + -: reorder review items by SRS level in descending order
  • Alt + Shift + =: reorder review items by SRS level in ascending order

These are entirely customizable and toggleable within the settings panel!

CogWheel Menu Integration

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:

CogWheel Buttons

These buttons can be used if neither hotkeys nor the one-click button are available.

Persistent Settings

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:

Settings

From here you can customize hotkeys and sorting behavior in a persistent manner.

Auto-Sort on Startup

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.

Hiding the Sort Button

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.

Install

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.

❤️