This is a third-party script/app and is not created by the WaniKani team. By using this, you understand that it can stop working at any time or be discontinued indefinitely.
Requirements:
[ General Script Installation instructions ] You’ll need a script host plugin like TamperMonkey
[ Open Framework Installation ]
Download the script here:
Description
This is a collection of filters for use with Self Study Quiz and Item Inspector scripts. The filters will be automatically added to the Filter tab in both software settings dialog.
They cover the following dates for your items.
- When the next review is scheduled.
- When the last review was taken
- When a lesson was taken.
- When an item passed guru
- When an item was burned
- When an item was resurrected
- When an item was unlocked
For each date three filters are provided. The exception is the “Have Burned” filter which is not provided here because it is included in the default filters provided by the Open Framework.
-
The “Had” filter selects all items for which the event associated with the date had occurred. Or alternatively it selects all items for which the event had not occurred.
-
The “After” filter selects all items for which the event has occurred at a date later than or the same as the specified date.
-
The “Before” filter selects all items for which the event has occurred at a date earlier than or the same as the specified date.
-
Used together the “After” and “Before” filters select items on a range of dates.
Note to developers
You should use wkof.wait_state('dateFilters', 'ready')
.to wait for the completion of the filters initialization.
This code is avalable under the MIT license on github
Acknowledgements
Big thanks to @seanblue @Kumirei and @rfindley whose advices have made this project possible. In particular @rfindley explained some fine points of the Open Framework and @seanblue provided some reference code that was used as a template.
Thanks again to @rfindley for providing reference code for the support of relative time.
Version history
Version 1.3.1 - Released under the MIT license
Version 1.3.0 - Added filters for last review date
Version 1.2.3 - Fixing file version problem.
Version 1.2.0 - Added support of wkof.set_state('dateFilters' , 'ready')
.
Version 1.1.0 - Added support of relative time.
Version 1.0.0 - Original release.