feat(dictionary): add Hachidori backend support

- Add backend selection, setup gating, Anki integration, and external host support
- Add launcher flags, documentation, packaging, and focused tests
- Open on-demand overlay modals on the first attempt
This commit is contained in:
2026-09-22 00:21:19 -07:00
parent 1508863dbb
commit d9fdc7ef6d
446 changed files with 109060 additions and 244 deletions
+2 -2
View File
@@ -230,12 +230,12 @@ async function loadYomitanAnkiDeckName(): Promise<void> {
state.yomitanAnkiDeckNameError = null;
} else {
state.yomitanAnkiDeckName = '';
state.yomitanAnkiDeckNameError = result.error ?? 'Failed to read Yomitan Anki deck.';
state.yomitanAnkiDeckNameError = result.error ?? 'Failed to read the dictionary Anki deck.';
}
} catch (error) {
state.yomitanAnkiDeckName = '';
state.yomitanAnkiDeckNameError =
error instanceof Error ? error.message : 'Failed to read Yomitan Anki deck.';
error instanceof Error ? error.message : 'Failed to read the dictionary Anki deck.';
} finally {
state.yomitanAnkiDeckNameLoading = false;
requestRender();