This script injects a sample Kana Vocabulary into the results returned by wkof.ItemData.get_items(), so script developers can test scripts that use wkof as their data source.
It does not inject anything into non-API data sources such as the review queue.
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.
Wanikani sent out an email, presumably to everyone that [signed up] for the developer email list, asking developers to add the message to script threads.
I used the text they provided, and added the icon and quote block.
Thanks again for this script. I was able to test and debug all my filters as well as Item Inspector. I am as ready as I can get for the release of kana vocabulary items on next Wednesday.
Item Inspector relies on some of your (@rfindley ) scripts for some of its functionality. Here is the current status as far as I can tell.
Self Study Quiz never asks questions for kana vocabulary items, not even when they are responsive to the quiz filters.
WKOF Item Type filter does not provide UI for the new kana vocabulary item type.
Item List Filter does not provide UI for the new kana vocabulary item type.
Blacklist Filter does not provide UI for the new kana vocabulary item type.
Part Of Speech filter does not return the kana vocabulary item even when it is responsive to the part of speech query.
I see the wkof is updated but not Self Study Quiz. Perhaps this is just a case of greasyfork not having propagated the update to the server servicing me. I will check it again in a couple of days.
I got the Self Study Quiz working now. I noticed something is off with the CSS of kana items. Wanikani has indicated they will use the same purple background as for regular vocabulary. SSQ uses black background.
Thanks a lot. If I followed correctly there is only the Part of Speech filter that is missing.
Also @Sinyaven@Kumirei@Gorbit99@seanblue there is a test code snippet for scripts that manipulates the review queue in the previous post. Please tag more people that could be interested.
To make matters worse kana item will have the same purple background as the vocabulary. The new object type has no UI visibility on users but it wreaks havoc on scripts that care about object types.
This is making it a bit hard to decide how to handle this in Lesson Filter. I can either pretend vocabulary and kana_vocabulary are the same, and have just a single filter value that includes both sets and generally lumps them together. Or I can treat them separately by adding a new filter input for kana_vocabulary, but then I’m making them into two things when the vanilla WaniKani UI will treat them the same.