Anki 2.1.41 Beta

The add-on situation is still messy, but better.

Fastbar, advanced browser, and straight reward all seem to work fine.

Editor adjusting add-ons are still broken as expected (collapsible fields, ze frozen fields, and wrapper meta addon)

Custom keyboard shortcuts, browser side by side, highlight search results in browser are still broken. I believe the authors of all these broken add-ons are fairly active and should be able to update them. Are these changes solid enough that I should notify them now?

The borders look clean now and the margin increase is tiny but makes a difference.

I assume thatā€™s intentional for better discoverability.

For me itā€™s a bit different but probably the same issue: Double rightclicking any node makes the first one (Saved Searches) the current element.

While this interpretation of the rightclick is a bit unusual (but not unheard of), there are simply not enough modifiers to provide all these functions only with leftclick. Of the 8 possible combos involving Ctrl, Shift and Alt, 7 are already in use with the old sidebar.

I like having all this functionality available by just clicking, but I wonder if itā€™s getting a bit much for new users now.
Accessability through the GUI could by achieved by adding another toolbar with selectable buttons representing the different clicking tools. Like in image processing software e.g., what happens upon a click would depend on the selected tool.

1 Like

On the Mac, right-clicking is a known UI element that most Mac users know of.

Iā€™m not particularly happy with the right-clicking solution - it conflicts with standard shortcuts on some Linux distros, is harder to actuate on a Mac, and seems to have introduced a bug where the wrong element is being selected. I think we might be best rolling it back for now, so we donā€™t feel pressured to get this sorted before the .41 release. What do people think?

I still wonder whether a toggle could work - a ā€œMultiā€ checkbox to the right of the sidebar filter for example.

Re: is:due, what about changing due to mean today, and adding another ā€˜overdueā€™ below it?

@AnKingMed Unless some unexpected issue arises, I donā€™t expect big changes at this point

a ā€œMultiā€ checkbox would be a little more tedious and be difficult when wanting to separate between or, and and -. I would probably favor some sort of keyboard combination with a click. Is it just the shift click that is causing issues with selecting multiple? cmd, cmd+alt seem to work fine. Iā€™d suggest alt+shift or ctrl+shift for ā€œorā€

I will notify add-on authors on those few things.

The idea of the checkbox would be to switch between the old behaviour (various modifiers+click to AND/OR/NOT/REPLACE) and multiple selection behaviour. Users who mainly use the modifiers, or mainly use multiple selection, could leave the checkbox on their preferred mode.

As Rumo mentioned, weā€™re already using a bunch of different modifiers, and if we changed shift to behave like a normal multiple selection, we could not represent all the different combinations across the platforms.

1 Like

When I pleaded for the reimplementation of multi-select some days ago, I didnā€™t know there was such a load of features that could conflict with it. Thatā€™s why I thought a multi-checkbox would be unnecessarily cumbersome and should be prevented.

But like Rumo said, a GUI solution is probably for the best here :slight_smile:

Hereā€™s a brief porting guide you can link to: Add-on porting notes for Anki 2.1.41

Yes!! Especially the ā€˜overdueā€™.

In this new version 2.1.41beta the option to searching for all the cards is gone.
After making a selection, I canā€™t undo it with the mouse. just clearing the selection on the panel.

Not sure if I my suggestion above was understandable. Since you lean towards a similar solution with the checkbox, I think I should elaborate:

Youā€™d have a bar for different modes like grafik .
The modes could be:

  1. Click to search, behaviour as on previous releases. (Icon could be a magnifying glass.)
  2. Click to select, the new behaviour.
  3. Click to collapse, or maybe just hover with a modifier to collapse/decollapse/toggle nodes.

It would be more visual than a checkbox and easily extendible should the need arise.

2 Likes

The button ā€œWhole collectionā€ was removed because it seemed redundant compared to the numerous new features on the sidebar.

You can access all cards by clicking on ā€œDecksā€ (the root of the deck-tree).

3 Likes

That sounds good, though Iā€™d lean towards just having the first two options to start with, as itā€™s easier to add more later than it is to take them away.

1 Like

@dae perhaps Iā€™m doing something wrong with the set due date, but it seems that 7 and 7! are doing the same thing.

My understanding would be that if the current interval on a card is 21 and I enter ā€œ7ā€, the card would be due in 7 days, but the interval would remain 21 days so that the next interval would be 21ease. If I enter ā€œ7!ā€, then it would be due in 7 days with an interval of 7 days so the next interval would be 7ease. It seems both are doing the same thing at the moment and Iā€™m unable to just change due date without affecting interval. I understand you tried to add the change that alters intervals a tad to adjust doing it earlier or later, but as far as I can tell ā€œ7ā€ and ā€œ7!ā€ are doing the same thing. I would recommend making it more like the rememorize add-on was with it altering just the interval alone.

Hi,
not sure if this is a specific .41 issue, but anyway:
The preview pane in the Cards window doesnā€™t reflect changes I do on the left side, unless I hit save and reopen the dialog.
Some notes:

  • No javascript errors in my card template
  • HTML changes, as well as styles done in the style tab are not displayed until reopening
  • There seems to happen a refresh (the web pane flickers), but the content stays the same
  • Tested with different note types, seems to work on none
  • Iā€™m on Windows, 2.1.41, no add-ons enabled.
2 Likes

Iā€™ve noticed this too when I tweaked some CSS recently. The live preview in the Cards editor doesnā€™t seem to work atm :thinking:

@AnKingMed I donā€™t think leaving the interval untouched is the best option, but your comment has made me realise the current approach is going to break down when rescheduling cards shortly after they were answered. Sigh, back to the drawing board again.

@prollo thanks, should be fixed in the next beta

1 Like

Beta 3 is now available.

@ankingmed Iā€™ve changed ā€œset due dateā€ to just leave the interval alone for now, and punted a better solution back to a future update.

@dae Sounds great. I know you want a better solution but I think this is much simpler for most users to understand and certainly less complex

@dae Iā€™m getting this error for multiple add-ons. Something I should just notify add-on authors about?

Traceback (most recent call last):
  File "aqt/webview.py", line 37, in cmd
  File "aqt/webview.py", line 136, in _onCmd
  File "aqt/webview.py", line 581, in _onBridgeCmd
  File "<decorator-gen-152>", line 2, in _linkHandler
  File "anki/hooks.py", line 89, in decorator_wrapper
  File "anki/hooks.py", line 86, in repl
  File "/Users/Nick/Library/Application Support/Anki2/addons21/zkingofstudytimers/__init__.py", line 616, in myLinkHandler
    return _old(self, url)
  File "aqt/toolbar.py", line 170, in _linkHandler
  File "aqt/toolbar.py", line 188, in _browseLinkHandler
  File "aqt/main.py", line 1069, in onBrowse
  File "aqt/__init__.py", line 101, in open
TypeError: __init__() got an unexpected keyword argument 'card'