Anki 2.1.28 版本更新总结
缘由
重写统计界面
重写同步模块
卡片生成支持否定条件
卡片模板界面重大调整
scheduling
空卡片界面
检查数据库
Unicode normalization
其他变更
缘由
Anki 今天推送了 Version 2.1.28 (7d8818f8)
版,距离上一次推送已经足足有两个多月了。虽然沉寂了两个月,但事实上 Anki 的开发一直比较活跃。这两个月里有很多实验版,而今天推送正式公开推送的版本应该是比较稳定的体验版。两个月沉淀了不少东西[1],今天的版本很有必要做个一总结。
![cffa745959ab93e386e558b1014c06a9.png](https://img-blog.csdnimg.cn/img_convert/cffa745959ab93e386e558b1014c06a9.png)
重写统计界面
这次更新重写了统计界面。虽然当前统计界面和之前 Anki 统计模块增强插件合集 一文介绍的在众多插件加持下的统计界面,信息丰富程度上有较大差距。但是重写后的统计界面贵在灵活,能够在搜索框中搜索任意内容,进行统计分析。
该界面还原生加上了个类似于 review heatmap 插件所提供的日历视图。不过可惜的是这个原生的日历视图与 review heatmap 所提供的视图相比,差距不小,有很大改进空间。
如果不习惯当前风格,可以按住 shift
键,点击 Stats
选项卡,仍然可以查看之前的统计界面。
重写同步模块
- Normal syncs and media syncs can operate in parallel, speeding up startup and shutdown.
- Normal syncs no longer need to close open windows like the Browse screen, or close & re-open the collection.
- Full syncs now show a progress bar.
- Full syncs can now be cancelled, and both normal and full syncs cancel more quickly.
卡片生成支持否定条件
- Card generation now supports negated conditionals, and a mix of required and optional fields.
- When adding/importing, if a normal note doesn’t generate any cards, Anki will now add a blank card 1 instead of refusing to add the note.
- Please bear in mind that if you take advantage of these features, older Anki clients may report the cards are blank, or try to clean them up when you use the Empty Cards feature.
- Cloze numbers over 499 are no longer supported.
这里其实主要注意第一点,卡片生成的时候现在可以用否定条件,并且支持混合条件。这个改进极大地提高生成卡片的灵活性,因为可以根据条件决定是否显示某些字段。
卡片模板界面重大调整
- Changes are now accumulated, and can be saved or discarded when you close the screen.
- The front, back, and styling are no longer shown at the same time. You can switch between them with ctrl+1/2/3 or cmd+1/2/3.
- Added a search bar to search for text in the template or styling.
- Added a dropdown to change the previewed cloze number.
- Added a checkbox to toggle the filling of empty fields for preview.
- You can now delete a card template even if some notes are only using that template - they will be given a blank card 1 instead.
这边最直观的体验是模板编辑界面被拆分为三个窗口,然而需要注意现在删除仍然有存在具体卡片的模板,不在是删除全部相关卡片,而是将这些卡片重置为空卡片(好像对我而言区别不大?)。
scheduling
- The deck list no longer caps counts to 1000.
- The overview and study screen no longer cap counts to 1000.
- The deck list will no longer show a parent count higher than the limit set on the parent.
空卡片界面
- Notes will not be deleted by default.
- Empty cards are grouped by note type.
- Empty cards can be clicked on to reveal them in the browse screen.
就是一个要点,空卡片的笔记不再默认被删除。
检查数据库
- Notes with the wrong field count are now recovered instead of being deleted.
- Notes with missing note types are now recovered instead of being deleted.
- Notes with missing cards are now recovered instead of being deleted.
Unicode normalization
If you are studying rare CJK characters and wish to prevent them from being converted into modern equivalents, the following in the debug console will stop Anki from normalizing note text.
mw.col.conf["normalize_note_text"] = False
其他变更
Fields screen now accumulates changes, which can be saved or discarded when you close the screen.
Audio player on Windows has been switched back to mpv
Add
edited:x
search for matching notes edited in last x days.Find & Replace remembers input
参考资料
[1]沉淀了不少东西: https://changes.ankiweb.net/#/