51 7
Sign in to rate

Enhance main window

0.04MB. Updated 2019-10-27. Supports both Anki 2.0.x and 2.1.x.


Adds a lot of features to the main window. Allows to configure those features. For more information, please go to https://github.com/Arthur-Milchior/anki-enhance-main-window SUPPORT THIS ADD-ON Think about giving a thumbs up and about sharing it. If you please: All of my contributions are freely shared with every users. They took a lot of time to create and to maintain. If you think that they improve your use of anki, I'd gladly accept a tip: .


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into the desktop program:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

Other Anki 2.0.x Add-Ons Other Anki 2.1.x Add-Ons Ask a Question


on 1574274327
Excellent work!!!!! Thank you bro!!!! Don't understand why there're still someone gave a thumb-down????
on 1574166804
Flashes at regular intervals (using night mode) and slows down the loading of the main window significantly. Seriously useful but disappointed it has these side-effects.
on 1572639102
It was cool when it worked but unfortunately it glitches and made all of my decks disappear starting a week or two ago. Toggling it off fixes the problem but the toggling it back on makes them disappear again. When it did work it was cool how much info it gave you about maturing decks.
Comment from author
Can you please post a bug report on github ?

I fear that it's a bug I can not fix. The current way Anki is coded, there is a limit to what can be displayed, and if there are too many decks, Anki windows's simply can not display it.
on 1572462642
Lots of options, thanks! Works great and doesn't slow my anki down either. It is a slight learning curve to figure out how to change settings (config) if you have no experience with code before but the explanations to figure it out were relatively straight forward. Some of the column descriptions are a little vague, ie. ---Column A: review cards you'll see today (not including cards in learning). VS Column B: review cards due today.--- I have both columns set to show (true) and they are both reporting the same value (perhaps because of my overall lack of cards n= ~1000). But there are other columns like that so I haven't figured out a pattern of what is meant in the descriptions. Does "cards you'll see today" = "cards due today"? For "review cards" does "review" always indicate learning, young and mature cards unless stated otherwise? (AKA exclude learning).

Anyway overall great addon, thanks!!!!!
on 1572223672
Thanks for the add!
Comment from author
You're welcome
on 1572183800
on 1569587915
Very important add-on for me, loads of customization options. Is a bit hard to set up though if you're absolutely new to looking at code.

Also, to everybody who rates add-ons here: DON'T USE REVIEWS TO SEND IN BUG REPORTS! Just because you had a problem with the add-on, it doesn't mean it's a bad add-on. Often times the developer will even take the time to work out the bug individually.
on 1567801761
on 1566498506
Is there a way to only include "mature" and "young" in the percent bar? When I try to delete the additional categories it gives me an error. Is there a way to change the colors of the bars as well? Thanks!
on 1564254874
I used for a while but it was constantly reporting ERROR. Since i could not create decks, I stopped using it
Comment from author
Can you please put a bug report on github. I've never heard of this problem, and I don't have enough details to correct it
on 1563284271
on 1563274788
on 1562143852
on 1561665836
Is a Great tool, but after a while it starts freezing the main page and the decks do not download. I mean, The decks and info are still in the program but they are not seen in the main page. Not until I delete this add on, close Anki and open it, I can see my decks again. Ive tried reinstalling it and It works, But after doing a deck, It gets frozen and the main Anki page appear empty again...
Comment from author
can you please put a bug report on github, so I can ask for more precise information ? You're not the first one having this problem, and I still have not enough information to solve it.
on 1561042110
It's a very powerful tool that allows you to have a precise x-ray of your situation in Anki. Thanks!!
on 1559133244
Was easier to configure in the past before complex updates were made. I just want to change the color of decks based on whether unseen cards are present in them, or a child.
Comment from author before post was edited
In theory, this option has not been changed, it is still present. Can you please go to github and open a bug report and explain what became the problem ?
on 1559030632
How cool is this :)
on 1557954157
Problem loading under linux mint cinnamon, anki 2.1 .

Here is the message :

An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.

When loading 'Enhance main window':
Traceback (most recent call last):
File "/usr/share/anki/aqt/addons.py", line 57, in loadAddons
File "/home/reynald/.local/share/Anki2/addons21/877182321/__init__.py", line 1, in <module>
from . import changeFunction
File "/home/reynald/.local/share/Anki2/addons21/877182321/changeFunction.py", line 1, in <module>
from .node import idToNode, renderDeckTree
File "/home/reynald/.local/share/Anki2/addons21/877182321/node.py", line 8, in <module>
from .config import getUserOption, writeConfig, getFromName
File "/home/reynald/.local/share/Anki2/addons21/877182321/config.py", line 30, in <module>
AttributeError: 'AddonManager' object has no attribute 'setConfigUpdatedAction'

Can you fix this?It works like a charm under Windows 10.
Comment from author
The same bug was reported on https://github.com/Arthur-Milchior/anki-enhance-main-window/issues/54 , and the same fix should work. Download anki from the website. Because ubuntu/linux mint's version are not up to date. And this add-on use features of anki which are recent.
on 1557533976
on 1557155301
The add-on was working well until the last update. It won't load my cards so I had to disable the add-on
Comment from author
Can you please post a bug report on github ?
What do you mean «load my cards» ? When you try to review a deck, you don't see questions or answer ? That's really strange
on 1556081285
since yesterday i noticed the addon started freezing the screen of decks tab in some of my desktop profiles. it worked fine before that. i am stating it here cause i am not able to create a github account cause captcha issues.
Comment from author
You can contact me by email arthur@milchor.fr . I won't try to help debugging using those comments, because I don't get notifications when you edit your comment.
I'd like to know how you know this add-on is the cause of the freeze ? Whether you are using anki 2.1 or 2.0 (which version exactly)
on 1553922705
Awesome addon! thank you!
Can I update it without loosing my settings?
Comment from author

First, please ask question on github for example. I can't really discuss using this system.

If you are on anki 2.0 you can't really update it anymore, it's not maintened.
If you are on anki 2.1, then settings should be saved. That's the whole point of add-on's configuration. Keeping setting while changing code. The only trouble you could have is if you have a version so old that the setting where IN the code and not in the add-on manager. In which case, I'm effrayed you need to go into your setting and copy them. Update anki, and paste the setting in the add-on manager.
on 1553350912
Very useful add-on. Thanks a lot.
on 1553259997
very helpful add-on.

temporary note @Arthur-Milchior: At the moment this info page on ankiweb.net just shows a placeholder instead of a screenshot as it used to do.
Comment from author
Corrected, thank you
on 1552562038
What was already good, got even better!
on 1552282573
Comment from author
Thank you for the upvote. But that's not the place where you should put the add-on number.
on 1552048139
How do i UPDATE? There is absolutely no UPDATE button for 2.0?
Comment from author
Sorry. Indeed, I do not maintain any add-on for anki 2.0 (unless someone want to pay me for it). I don't know what keep you or other people on the old version of anki. But the day you'll update anki, you'll have the add-on update.
on 1551989695
Great add-on!
I'd like to ask one thing. I use 2.0.52 version of anki. I don't see the configuration part of bar (percentage bar) or information about marked card which is explained in the README file. How can I use column of marked card? It seems _("marked") doesn't exist. The feature of marked card background colour and percentage bar and column of marked card is just for 2.1 version? :(
Great app indeed. Cheers!
Comment from author before post was edited

If you want better discussion, you should go on github.
Indeed, as you have guessed, a big part of the description corresponds only to 2.1. I didn't update the 2.0 version once I switched on 2.1. You can still do some editing of configuration directly in the code. You have some comment in it explaining how to do it. But actually, anki 2.0 does not even use configuration files for add-on, this was introduced in anki 2.1
on 1551197751
on 1550727337
Amazing! Anki's main window is so bare without it. It's a bit difficult to customize at first but you get the hang of it.

My only question is how to get the new update with percent bars? :(
Comment from author
In anki, open the add-on manager, and click on «update». You should get the last update there automatically. Of all add-on. Please ask questions on github, other wise I don't get notification of questions.
on 1550671084
great addon and super friendly developper :)
on 1549848334
These columns do come in handy.
on 1549086220
Can be difficult to configure due to sheer length of options, but overall prefer this over less control/flexibility. Great add-on overall.
on 1548635020
on 1548027094
on 1548011258
This add-on is very helpfull!
on 1547544388
Good! Thank you
on 1547181312
Very clunky and difficult to use, but is VERY useful once you get the settings figured out.
on 1543933942
on 1543070445
EDIT: Edited this comment after a great update which allows the user to edit the configuration within the anki program itself, great instructions as well from the author explaining how.

Really love this addon, but a few more minor suggestions:

1. Add the default text color for deck names to the config page: I use night mode so the default black doesn't show up, currently still need to go into the source file to edit this (and takes a little trial and error to find it). Line 487-488 currently.
2. Universal setting for the overlay text, so that the user can turn off all text hover/overlays at once instead of individually. Most users are probably not going to want some overlays and not others. Also, instructions aren't quite clear for the average user to turn off the overlay, should specify that the user should change null→ "", not false or delete the whole line, etc.
3. Flashing during refresh with nightmode enabled still happening, not sure if this can be fixed
4. Larger change but the way I use anki results in a lot of suspending cards, etc. Those cards don't show up as studied but would be cool to have a "suspended today", "marked today" options. Maybe a "Total suspended cards (suspended today)" column option. Might be difficult to incorporate though.

Original comment:
Phenomenal addon and really appreciate how well organized the code is, makes it very easy to customize your configuration. As long as you save backup of your previous configuration only takes a few minutes to go through and update the code after updating to the new version.

Only issue I have noticed since updating to the most recent version is that with nightmode enabled, the refresh "flashes" a lot more which I never noticed on previous versions. Just a minor thing but very noticeable now when at the home screen, had to decrease the refresh rate because otherwise it gets a bit annoying.
Comment from author
If you come back and read this, please contact me by email, github, whatever, it will be really easier for you and me to communicate. I mean, suggestions are for me, and not for the average user I guess. I may one day look at this «flashing», but it's not my priority, so I won't do it soon unless someone pays me for it. I'm working on and uploading other add-ons currently.

It would not be really hard to add your request for changes done today. My problem is that I'm not sure I want to add it in this add-on. I don't really find simple way to explain this to users. This documentation is already far too long.
on 1542607073
on 1541929918
Excellent once I've wrapped my head around the configurations. Too crowded in the original window, I had to de-clutter somewhat, but I like it and use it.
on 1540886463
Yay I got what I wanted
on 1540474625
Works as advertised
on 1540402233
Love this add-on!
on 1539921228
Really useful
on 1539845812
on 1539765340
Thank you....Very useful addon...
on 1539497282
Highly configurable - pick and choose only what you need.
on 1537903630
super useful!
on 1534021054
Works perfectly
on 1529022993
extremely useful
on 1524182400
Very useful, takes time to absorve the information though....
on 1522281600
I think it is pretty useful
on 1519084800
on 1518825600
Thank you for sharing !
on 1518220800
Adds all the options from all the unburied counts addons I've been using separately.
on 1518220800
Thanks for sharing! Should come in handy for all of the power-users out there.