[Userscript] Wanikani Item Inspector

Version 1.8.0 is out. Download it at the link at the beginning of the top post.

There are a lot of new features.

Improvements to the user interface.

Two new navigation buttons are introduced to jump to the beginning and to the end of a table.

buttons

There is now up to eight popup elements in a popup.

Breeze Dark support is improved. The font colors now adjust to the dark theme. The word cloud export icon is changed for a similar one that looks good under Breeze Dark.

Following up on a comment by @guiljb the navigation algorithm has been improved. Changing back and forth between table mode and icon list mode no longer resets the table to the beginning.

New Contents

Following up on feed back from @username21 more information is supported by Item Inspector. The following is being added:

  • Reading by Type A list of readings with an indication of whether it is onyomi, kunyomi or nanori. (only for kanji)
  • Allow List The contents of the item allow list.
  • Block List The contents of the item block list.
  • Part of Speech The part of speech information applicable to a vocabulary item.
  • Visually Similar Kanji The kanjis that are visually similar to a kanji item according to vanilla Wanikani.
  • Components of Item The radicals that compose a kanji and the kanji that are used in a vocabulary item.
  • Items Where Used The kanji where a radical is used and the vocabulary items where a kanji is used.

Visually Similar Kanji, Components of Item and Items Where Used cause lists of items to appear in the popups in the form of lists of icons.

popup

Sometimes there are too many items to fit in the popup. The mention “And More” will appear when this is the case. You may obtain the full list of items by clicking the Make Table button at the bottom of the popup.

The Make Table button creates a temporary table with all the icons on the popup, including those that were omitted for lack of room. This table will have a name that begins with --Temp. When you display a table whose name doesn’t begin with --Temp all the --Temp tables will be automatically deleted. If you want to keep one such table you should go to the settings and change its name for something that doesn’t begin with --Temp.

The --Temp table name contains the item that was moused over when to popup was shown. You may refer to this information by looking at the table selection dropdown.

Dropdown

These tables are convenient to obtain more information on these items. By default the information about where the item stand in your studies is displayed in popups.

popup1

You may configure this information in the Default tab of your settings.

Defaults

You may know whether an item is a Visually Similar Kanji, a Component of Item or an Item Where Used by looking at item types.

  • If the source item of the popup is a radical, the temporary table will hold only kanjis where the radical is used.
  • If the source item of the popup is a vocabulary item, the temporary table will hold only kanjis that are components.
  • If the source of the popup is a kanji, all radicals are components, all kanjis are visually similar kanjis and all vocabulary are items where the kanji is used.

Improvements to Exports

This is following up on comments by @s1212z about Kitsun and experiments by @ekg with Excel.

Options to configure the export format to match the capabilities of the software that will use the data are now provided. You must select a separator and determine whether you use quotes. Choosing horizontal tab and no quotes export nicely Wanikani data to most software. If this doesn’t work you must tinker with the settings of both software until you find a combination that works.

export1

You may also configure the appearance of Wanikani data in the csv file.

export2

  • You may choose whether to include a title line for identifying the data.
  • You may choose to include a label for the data in each cell. This feature permits to import properly labeled data in Kitsun.
  • You may export the URL of the item page. If you choose to do so you may export it in the form of a spreadsheet formula that will turn it into a clickable link. Clicking the link will bring up the item page in your browser.
  • Sometimes some data is missing from Wanikani database. For example there is no statistics for reviews when an item is still locked. When this happens you may choose between leaving a cell empty or fill it in with the mention “Unavailable”.
  • You have the choice of whether or not to include hours and minutes with dates.

Download vs clipboard option

When using either the csv or the word cloud buttons a choice is now offered to either download a file or copy the data to the clipboard. Download is following up on a tip be @Kumirei

Download

Request for feedback

  • Breeze Dark: I would like to hear from Breeze Dark users on whether the Breeze Dark support is adequate. @shikaji are you a Breeze Dark user?

  • Kitsun: I would like to hear from @s1212z whether the improvements to export work good with Kitsun. Exports should be tabs with no quotes and labels should be included. Does all this work as intended?

  • Excel: I would like to hear from @ekg and maybe @shikaji on whether the improvements work well with Excel. The export should be tab with no quotes. The result should be a clean import with using the spurious space separator to get rid of the quotes. I would also want to know whether exporting URL of Item Page with the URL Clickable in Spreadsheet option indeed results into a clickable link that opens the item page in the browser.

7 Likes