Commit graph

28 commits

Author SHA1 Message Date
Dusk
0dc2d7cb5d Release 1.0.3 2026-05-11 21:13:50 +08:00
Dusk
13b5685fe5 fix(review): satisfy Obsidian review bot lint
中文: 修复 Obsidian Review Bot 指出的英文文案 sentence case 问题,并调整设置页测试中的计时器类型,避免禁用 prefer-active-window-timers 规则。

English: Fix the remaining Obsidian Review Bot sentence-case findings and update the settings tab test timer shim so no prefer-active-window-timers disable comment is needed.
2026-05-03 20:00:24 +08:00
Dusk
387f977dca Update built plugin bundle 2026-05-03 19:13:38 +08:00
Dusk
a898aa80e9 chore(release): bump version to 1.0.2
- bump package.json/manifest.json to 1.0.2

- add versions.json compatibility entry for 1.0.2

- include latest scope-row inline hint layout adjustments
2026-04-30 21:24:51 +08:00
Dusk
488bd3d91f feat(deck): add folder-level deck mode overrides
在 include 模式下允许选中文件夹改用与全局 folderDeckMode 相反的映射规则

Add include-scope folder overrides that apply the opposite global folderDeckMode mapping

取消勾选文件夹时会清理该路径及其子树的覆盖记录,并把规则接入设置页与 deck fingerprint

Clears override records for deselected folders and descendants, and wires the rules into the settings UI and deck fingerprint
2026-04-30 19:18:15 +08:00
Dusk
3e5ce2c1d2 chore(release): bump plugin version to 1.0.1
中文: 将插件版本升至 1.0.1,恢复使用 Obsidian getLanguage() 作为语言来源,并把最低 Obsidian 版本同步提高到 1.8.7。

English: Bumps the plugin to 1.0.1, restores Obsidian getLanguage() as the locale source, and aligns the minimum Obsidian version with API usage.
2026-04-30 10:37:37 +08:00
Dusk
6fb8583feb Fix Obsidian review issues 2026-04-30 10:15:44 +08:00
Dusk
6f7636da55 fix(sync): rebuild cached all-cloze cards
中文: 修复全库同步复用旧缓存时漏掉 #anki-cloze-all 模式,确保旧 sequential 状态会强制重读并触发重建。

English: Force unchanged vault-sync files to be re-read when cached cloze state missed the all-cloze marker, so sequential-to-all shrink rebuilds can run and clear stale empty cards.
2026-04-28 13:19:01 +08:00
Dusk
5c1bf809b2 fix(cloze): rebuild notes when cloze numbers shrink
在挖空数量减少时重新构建笔记,以确保 Anki 中的卡片正确更新。

Rebuild notes when cloze numbers shrink to ensure Anki cards are updated correctly.
2026-04-28 00:03:27 +08:00
Dusk
4ad25b28a7 feat(cloze): add all-cloze card variant
中文: 新增填空题(全部挖空)变种,支持 #anki-cloze-all 并复用现有填空题模板与主字段。

English: Adds an all-cloze variant using #anki-cloze-all while reusing the existing Cloze note type and main field mapping.
2026-04-27 23:04:16 +08:00
Dusk
b77d4b6332 chore(qa-group): remove managed model remnants
中文: 删除托管 QA Group 12 死代码,统一保留用户自选笔记模板与字段映射路径。

English: Removes dead managed QA Group 12 code and keeps user-selected note templates and field mappings as the active path.
2026-04-27 22:03:52 +08:00
Dusk
98d64dac21 fix(release): clean remaining pre-release state issues
中文: 修复 pendingWriteBack 持久化加载,丢弃旧 Semantic QA 状态,并修正发布链接与多级列表问答文案。

English: Preserves pendingWriteBack state loading, drops old Semantic QA state, and fixes release links and QA Group wording.
2026-04-27 21:11:48 +08:00
Dusk
a9033664b8 Finalize pre-release cleanup 2026-04-27 19:54:49 +08:00
Dusk
c0c2551753 fix(settings): default scope to selected folders
中文: 将插件运行范围默认值改为仅在指定文件夹,并同步旧配置加载测试与构建产物。

English: Change the plugin run scope default to selected folders only, update persistence/default tests, and refresh the production bundle.
2026-04-26 22:42:38 +08:00
Dusk
dfccdcbfc5 fix(settings): use native CTA buttons
中文: 将设置页操作按钮改为 Obsidian 原生 ButtonComponent CTA,移除自定义按钮样式覆盖,并更新测试与构建产物。

English: Use native Obsidian ButtonComponent CTA buttons for settings actions, remove custom button style overrides, and update tests and build output.
2026-04-26 20:48:13 +08:00
Dusk
c9e80d4034 fix(settings): keep toggles native
中文: 恢复设置页开关使用 Obsidian 原生样式,仅保留操作按钮主题色背景,并更新相关测试与构建产物。

English: Restore native Obsidian toggle styling in settings, keep themed backgrounds for action buttons only, and update related tests and build output.
2026-04-26 20:42:46 +08:00
Dusk
79ddbef838 feat: use Obsidian theme colors for settings page action buttons and toggles
- Settings page action buttons now use Obsidian theme accent colors.
- Settings toggles now have clearer themed states.
- Styling is scoped to the plugin settings page.

功能:设置页面按钮和切换开关现在使用 Obsidian 主题色

- 设置页面的操作按钮现在使用 Obsidian 主题强调色。
- 设置切换开关现在具有更清晰的主题化状态。
- 样式已限定在插件设置页面范围内。
2026-04-26 17:55:23 +08:00
Dusk
8357992ee3 feat(sync): refine QA mappings and cloze output
中文: 优化问答题多级列表字段映射与解析,移除填空题兼容性误判,并调整填空题正文分隔符和设置页展示。

English: Refine QA group field mapping and parser behavior, remove stale cloze compatibility assumptions, and update cloze body separator plus settings UI copy.
2026-04-26 16:55:31 +08:00
Dusk
911949bedc fix(sync): make saved field mappings authoritative
中文: 统一已保存字段映射为同步权威来源,移除填空题对 isCloze 与命名猜测的阻断,并让多级列表问答按已保存 titleField 与 slots 同步。

English: Makes saved field mappings the sync authority, removes cloze blocking based on isCloze and name heuristics, and syncs QA Group cards with saved title and slot mappings.
2026-04-26 11:47:11 +08:00
Dusk
9d0e47e0ca fix(commands): hide rebuild index from user entrypoints
中文: 从命令面板和设置页命令说明中移除重建卡片索引入口,保留底层维护代码。

English: Removes the rebuild index entry from command palette registration and the settings command guide while keeping the underlying maintenance code.
2026-04-26 10:50:02 +08:00
Dusk
2b366bbf1d fix(settings): reorder deck and scope cards
中文: 调整设置页卡片顺序,将卡片牌组设置放在插件运行范围之前。

English: Reorders settings cards so card deck settings appear before plugin run scope.
2026-04-26 10:04:27 +08:00
Dusk
09738b73ef fix(settings): align deck helper text
中文: 将卡片牌组设置中的示例、兜底说明和优先级说明与其他设置文案左对齐。

English: Aligns deck setting examples, fallback copy, and priority helper text with the rest of the settings copy.
2026-04-26 09:58:54 +08:00
Dusk
337d1806b4 fix(settings): soften deck helper copy layout
中文: 将卡片牌组设置中的示例和兜底说明改为轻量辅助文本,并把优先级说明移到卡片底部。

English: Softens deck setting examples and fallback copy into helper text, moving priority copy to the card footer.
2026-04-26 09:52:26 +08:00
Dusk
271253c484 fix(settings): regroup card deck settings
中文: 重组卡片牌组设置分组,统一中文牌组文案,并将文件夹及文件名映射设为默认牌组模式。

English: Regroups card deck settings, normalizes Chinese deck copy, and makes folder-and-file mapping the default deck mode.
2026-04-26 09:35:19 +08:00
Dusk
77e6c33a7d fix(settings): enlarge folder tree disclosure arrows
中文: 将插件运行范围文件夹树的展开箭头放大一倍,并补充设置页测试锁定样式。

English: Doubles the folder tree disclosure arrow size in plugin run scope settings and adds a settings test for the style.
2026-04-26 09:01:58 +08:00
Dusk
23b9b83527 fix(settings): refine plugin run scope tree UI
中文: 将范围设置统一为插件运行范围,并把文件夹选择区调整为对齐稳定的 Finder 式树形 UI。

English: Renames the scope settings to plugin run scope and refines the folder selector into a stable Finder-style tree UI.
2026-04-26 08:50:51 +08:00
Dusk
354e25b4ae chore(settings): refine sync content copy and plugin dist sync
中文: 收束同步内容设置文案,并调整插件构建产物同步逻辑。

English: Refines sync content settings copy and plugin distribution sync behavior.
2026-04-26 08:45:56 +08:00
Dusk
f854a3b581 chore: rebuild dist and sync 2026-04-16 18:02:02 +08:00