Commit graph

12 commits

Author SHA1 Message Date
Dusk
1682ce5fa0 fix(sync): fix deck stats structure, empty deck identification, and test false positives
修复了 deck stats 返回结构读取错误、修复了空牌组候选识别错误、修复了对应测试的假阳性问题。
2026-04-18 22:53:17 +08:00
Dusk
a5056dd71c fix: prevent treating unknown deck stats as cleanup candidates | 修复:防止把未知 deck 统计当成空牌组 cleanup candidates
English: Ensure that decks with unknown statistics are not incorrectly treated as empty candidates for cleanup.
中文:确保统计信息未知的牌组不会被错误地视为待清理的空牌组。
2026-04-18 22:37:08 +08:00
Dusk
412fddebc1 feat(management): add commands to clear synced cards and cleanup empty decks | 新增清空已同步卡片与清理空牌组管理命令
Introduced two new management commands: 'Clear currently synced cards' to reset sync state for the current file, and 'Cleanup empty decks' to remove unused decks from Anki. Both commands improve plugin maintenance and synchronization flow.

新增两个管理命令:'清空当前文件已同步卡片'用于重置当前文件的同步状态,'清理空牌组'用于从 Anki 中移除未使用的牌组。这两个命令改进了插件的维护和同步流程。
2026-04-18 22:21:10 +08:00
Dusk
bd149b9d11 fix(deck): migrate existing cards when deck rules change 2026-04-18 21:39:15 +08:00
Dusk
960b87103d feat(deck): add configurable deck resolution modes
中文: 新增 deck 模式选择、文件级 deck 解析、文件夹映射、模板插入与 warning 汇总

English: Add deck mode selection, file-level deck parsing, folder mapping, template insertion, and warning aggregation
2026-04-18 20:14:29 +08:00
Dusk
cb968b1d17 feat: redesign folder scope settings 2026-04-18 13:42:01 +08:00
Dusk
a0ac404712 fix: tighten module 3 indexing identity and caching 2026-04-18 10:20:16 +08:00
Dusk
d3d356fb10 feat: implement module 3 manual sync architecture 2026-04-18 10:07:49 +08:00
Dusk
63aaf5f438 fix: stabilize batch AHS writeback 2026-04-18 08:16:30 +08:00
Dusk
7c2c6776bd feat: Module2 — AHS 写回与相关测试 2026-04-18 00:08:46 +08:00
Dusk
5099b39d3f chore: commit Module 1 changes — add NoteFieldMapping, mapping service, persistence, tests 2026-04-16 23:02:07 +08:00
Dusk
f854a3b581 chore: rebuild dist and sync 2026-04-16 18:02:02 +08:00