Anki add-on: More Overview Stats 2.1

This add-on adds more information to the deck overview statistics. Column explanation The first column shows how many cards belong to each respective category. (i.e., 711 unseen and 223 suspended cards in the image above) The second column shows what percentage of your cards fall into each respective category. (i.e., 46% unseen and 14% suspended cards in the image above) The third column shows the same information as the second, but does not count suspended cards towards the total number of cards (notice how the third column says 'ignored' in the 'Suspended' row), thus resulting in different percentages. What's new: 2025-02-17 — Fixed date format bug. Thanks to Tsung-Han Yu 2024-08-22 — Fixed an issue preventing the use of filtered decks 2024-08-21 — Added support for deck-specific 'New cards/day' daily limits for Anki version 2.1.55 and newer 2024-08-20 — Fixed issues caused by the newest add-on version when using Anki version 2.1.49 or older 2024-08-19 — Fixed congratulations page not showing up Customization Options: You can edit the config at: Tools — Add-ons — More Overview Stats 2.1 — Config First click Tools and then Add-ons: Then select 'More Overview Stats 21' in your add-on list and click on 'Config' on the right: Note: If this option is greyed out, the config.json in the add-on folder is likely missing. In that case, simply create an empty text file in the add-on's folder among the __init__.py , meta.json and More_Overview_Stats_2_1.py files and rename it to config.json . Make sure that the extension is .json and not .txt or .json.txt etc., otherwise Anki will not recognize the file. Restart Anki to reload the add-on. This will open the config screen: Date formats There are currently four shorthand forms for the date format with: "us" displaying the same as "%m/%d/%Y", meaning: month/day/Year, ex: 04/26/2020 "asia" displaying the same as "%Y/%m/%d", meaning: Year/month/day, ex: 2020/04/26 "eu" displaying the same as "%d.%m.%Y", meaning: day.month.Year, ex: 26.04.2020 "iso" displaying the same as "%Y-%m-%d", meaning: Year-month-day, ex: 2020-04-26 You can alternatively directly enter the date format like: "%m/%d/%Y" for the US. The most important directives are: %d being: Day of the month as a zero-padded decimal number, i.e. 01, 02, …, 31 %m being: Month as a zero-padded decimal number, i.e. 01, 02, …, 12 %b being: Month as locale’s abbreviated name, i.e. Jan, Feb, …, Dec (en_US); Jan, Feb, …, Dez (de_DE) %B being: Month as locale’s full name, i.e. January, February, …, December (en_US); Januar, Februar, …, Dezember (de_DE) %y being: Year without century as a zero-padded decimal number, i.e. 00, 01, …, 99 %Y being: Year with century as a decimal number, i.e. 1970, 1988, 2001, 2013 "Date Format": "%b %d, %y" would thus result in: Nov 10, 22 as shown in the topmost image. You can find further information and valid directives in the python documentation Change colors To change the colors of numbers in the stats screen, you will have to find the hex code of your chosen color and replace the one in the config as above. You can get the hex codes from sites like: HTML color codes Example: Default: "Stat Colors": { "Days until done": "#ddd", "Done on Date": "#ddd", ... } Change to: "Stat Colors": { "Days until done": "#ffffff", "Done on Date": "#ddd", ... } This will make the text after 'Done in:' white. After that, just close the config with 'Ok' and your changes should be visible the next time you open a deck screen. Note: If you already have a deck screen open while changing these values, you will not see any change until you go back to the Anki main screen and click on a deck again. Hide stats for finished decks You can disable showing the stats on finished decks by changing: "Show table for finished decks": true, to: "Show table for finished decks": false, Display note instead of card numbers If you want the add-on to display the number of notes in a deck, instead of the number of cards, you can add the line: "note_correction_factors": {} to the config.json. You then put the beginning of the deck name (including all parent decks) and the number of different notes. In the example below, we have a deck named 'Word Pool' within the deck 'Turkish'. If this deck were to contain 3 different note types i.e., 'Recognition', 'Production', 'Listening', but we are only interested in how many unique words of this deck we know, we can change the factor to 3 down below. A deck with 500 words and 3 note types would have 1500 cards, changing the factor below to 3 makes the add-on display counts in relation to the 500 words. "Note Correction Factors": { "Spanish": 1, "Turkish::Word Pool": 3 } Contribute For contributions, please check out this add-on's GitHub page. Credits This add-on is based on the 'More Overview Stats 2' add-on by Martin Zuther ( http://www.mzuther.de/ ) which is based on 'More Overview Stats' by Calumks (calumks@gmail.com) Support my work Creating and maintaining add-ons takes a lot of time, so if you like my work, please consider supporting me by buying me a coffee on Ko-fi. Thank you very much!

GitHub repository: kazuwuqt/anki_more_overview_stats
Repository description: :man_student::speech_balloon::woman_student: The More Overview Stats 2.1 Add-on for Anki, extending Anki's default overview screen with valuable information and statistics.
Languages: Python, Shell
Topics: add-on, anki, css, html, python, spaced-repetition-system, sql, srs