Anki 2.1.45 Alpha

Why limit the horizontal space artificially? And i mean limit it to 2 columns. I liked the first design where it growed as much columns as you wanted to by resizing the window

All computer monitors are wider than taller. 2 monitor set ups are very common. 21:9 ultrawide monitors are pretty common too

Its just the options screen, so not that big deal, but why having vertical designs when virtually everybody on desktop have more horizontal space

Defaults still look as intended, but if you decide to resize it, it will make it more useful to you

Just my 2 cents from the pov of an user that likes when the content grows with the window when you resize it :slight_smile:

BONUS: Speaking of wich, I just wanted to mention this addon that allows you to use more your horizontal space in your main window to give you a few nice stats without having to click on every deck individually

Timebox limit option is still not working in my system:

  1. Preferences > Scheduling > Time box limit > 1 min
  2. Start answering your cards.
  3. After 1 minute, you’ll get this non responding window:
    Captura de pantalla 2021-06-02 113351
  4. Clicking on ā€œContinueā€, ā€œFinishā€ or ā€œXā€ has no effect, you have to close Anki through the Task Manager.
1 Like

For some strange curiosity
if you drag the tab after pressing continue/finish → will create double tabs → you can close the tab (anki will freeze the screen, but will continue)

The new deck options will likely be also used for the mobile clients in the future, hence that mobile-first approach. I understand why Damien is cautious about the grid-view, because every user would have a slightly different layout (some with 2 columns, some with 3 or 4), making support a bit more difficult.

I think 2 colums are a good compromise, because all the options fit onto the screen and the order of the options will stay the same for everyone.

Edit: Haha that Matrix part made me smile @whatchu :smile: Sort of relatable :joy:

1 Like

The interface will work the same on phone when only one row is available, so thats a non issue :wink:

Anybody that have the initiative to resize the window will be able to find a setting

I just find annoying the webs (or settings windows) that are not able to grow when the space grows just because the mobile-first designer forgot to design for large screens

Specially on a computer program :confused:

Also, can we not pretend anki is beginners friendly to begin with? You have understand many concepts just to start using it. And few concepts are not intuitive at all

The options in the settings window are not very friendly either. You have mixed in there how many new/review cards you want per day, next to learning steps, next to what happens to leeches

Options that virtually everybody will change, mixed with settings that nobody should mess with unless they are able to read the matrix directly from a terminal

People will be lost in the options and anki support is difficult, but not because how many rows you put in there

Please realise im not complaining. I will be happy either way because this is just bikeshedding. Just trying to make sense of what anki (damien) is trying to accomplish here because i receive mixed signals

2 Likes

@cqg I can’t seem to reproduce the issue with the timebox here. I set a 1 minute delay, begin study and wait for a minute, and the screen pops up, but either button makes it go away. Does disabling add-ons help?

@NameLessGO what do you mean by ā€œdrag the tabā€?

@Rumo IIRC the tooltips are run through markdown which wraps them in <p> tags, and I think that’s messing things up. Maybe we could use some custom styling for the popper tooltips @hengiesel or @kleinerpirat?

@whatchu I attempted to order the options in the rough order they are likely to be used, and that ordering is less apparent when you introduce multiple columns - though the separator and flow changes @kleinerpirat added do help. The fact that Anki provides options for more advanced users does not mean we should just give up on trying to be user-friendly, and even advanced users start off as beginners.

Not easy to say, since, after a few hours of testing, it seems to be a rather random problem in my system. Could it be related to Asset manager plugin? Does that make any sense?

Fixing the <p> issue would be as easy as defining a rule like this in deckoptions-base.scss:

.tooltip-inner p {
    margin: 0.8em 0.4em 0.8em 0.8em;
}

The margin on the right is lower for balance reasons, because most words wrap somewhere before that margin, shifting the weight to the left.

Output

I also applied a border-radius of 15px to .tooltip-inner for a more bubbly feeling.


If you want a proper redesign (and perhaps a little pop-out animation?) for the tooltips, I’m up for that, but I’d like to wait for #1207 to be merged first.

1 Like

Thanks, that looks much better. It would also be nice to have the tooltip colours more similar to those on the graphs screen - at the moment we’re just mostly relying on the popper defaults. Not sure if an animation would work, as the direction will change when the tooltip approaches the edge of the screen.

@cqg probably not, but hard to say for certain without a test

It might be an add-on problem related, did some tests with safe mode
@cqg wihch add-ons do you have, so we can narrow it down
atm im using

1 Like

Suggestions prior to official release:

  1. The buttons in the editor are quite large. Not absolutely necessary, but I think they could definitely be made smaller so there is more room
  2. I would recommend making ā€œmarkedā€ and ā€œleechā€ in the top portion of the sidebar so they are easier to find. I’ve had many users email me about this. Could be a ā€œcard propertiesā€ toggle?

All the other updates in alpha4 are awesome! And Customize Keyboard Shortcuts was updated so that it works with the preview button now

Thanks, good to know that someone else is having the same problem.

I’m using Closet, Anki Persistence and Asset manager, but still haven’t found any clear correlation between any of them and this particular problem. I’ll keep trying and will post it here, if I find something

1 Like

thanks for telling the add-ons, was very helpful

Did an backup of the add-ons and used only Persistence editor (made by the same person who did Anki Persistence,Asset Manager and Closet ) and the problem occurred
image

We might have to report to hgiesel for this issue

2 Likes

The thing is that I’ve been reviewing my cards with all three plugins (and timebox option) activated for several hours, and now everything runs just fine.

Strange

1 Like

OK, I’ve found a way of replicating the hang with 100% probability on my system:

  1. No addons involved, you can disable / uninstall all of them if you want
  2. Tools > Preferences > Scheduling > Timebox time limit > 5 minutes (for example)
  3. Start reviewing your cards, and keep doing it for more than 1 minute.
  4. Tools > Preferences > Scheduling > Timebox time limit > Set it to 1 minute
  5. Anki gets hanges as described here:
    Anki 2.1.45 Alpha - #82 by cqg

Can you confirm?

2 Likes

Yes i can confirm that
strange though, before was ok
i think if you already have 1 min on timebox then restart anki and review → will work
but if you change the timebox then review (without restart) → will bug

Edit:
Yeah, so on safe mode, if the timebox is already set (without changing anything) → will work
but if you change the timebox then review → will bug

1 Like

So far I haven’t perceived them as too large, but I don’t use a lot of add-ons that add their own buttons. After taking a good look at them now, I think you’re right. They feel a bit too big.

How the height and width of the buttons are calculated:

calc(var(--buttons-size) - 2px);

The variable --buttons-size is set to 2rem at the moment:
image

Maybe 1.85rem instead of 2rem would do the trick:
image

Like this you can fit two more buttons on one line at that same window width.
I wouldn’t go all the way to 1.8rem because then the icons get really small. One could reduce their padding of course, but that wouldn’t look great either.

1 Like

1.85 looks much better. Here’s how mine currently look with some extra add-on buttons:

Where in the code is the button size? I may be able to add it to my Browser Resizer add-on as a feature users could just toggle

2 Likes

By the looks of your screenshot I feel like maybe rem isn’t the best unit to define that variable in the first place, since it is based on font sizes or something like that and obviously results in different button sizes across different systems.

The buttons should not be bigger than the two Qt buttons for Type and Deck…


FIY

The variable is set in line 50 of anki/ts/editor/EditorToolbar.svelte:

    export let size = 2;

There are some different elements whose size is derived from that definition. But I think after seeing your screenshot, @dae will probably take action in the source code anyway, so it probably won’t be necessary to do it with an add-on.

1 Like

Cool. Having seen yours I can see why nobody else thought it was necessary so I’m glad providing a screenshot helped you see the problem I was having