From 04166f3f012af4d847116b94f72bfb19619247ff Mon Sep 17 00:00:00 2001 From: sudacode Date: Mon, 17 Aug 2026 09:27:35 -0700 Subject: [PATCH] feat(anki): add runtime toggle for media timing review - Add session-only runtime option with live config hot-reload support - Document the runtime palette toggle --- changes/media-timing-review.md | 2 +- docs-site/anki-integration.md | 2 +- docs-site/configuration.md | 9 +++++---- src/config/config.test.ts | 1 + src/config/definitions/options-integrations.ts | 1 + src/config/definitions/runtime-options.ts | 14 ++++++++++++++ src/config/settings/registry.test.ts | 1 + src/core/services/config-hot-reload.test.ts | 2 ++ src/core/services/config-hot-reload.ts | 1 + .../runtime/config-hot-reload-handlers.test.ts | 9 +++++++++ src/main/runtime/config-hot-reload-handlers.ts | 3 +++ src/runtime-options.test.ts | 16 ++++++++++++++++ src/shared/ipc/validators.ts | 1 + src/types/runtime-options.ts | 1 + 14 files changed, 57 insertions(+), 6 deletions(-) diff --git a/changes/media-timing-review.md b/changes/media-timing-review.md index c03c7627..0092abcc 100644 --- a/changes/media-timing-review.md +++ b/changes/media-timing-review.md @@ -1,4 +1,4 @@ type: added area: mining -- Added optional pre-generation timing review for word, sentence, and audio cards with a compact speech-weighted waveform, clearly labeled mined-line boundaries, drag and keyboard adjustments, audio preview with a sweeping playhead, exact screenshot and AVIF timing, and cancellation choices that include keeping a card without media. +- Added optional pre-generation timing review for word, sentence, and audio cards with a compact speech-weighted waveform, clearly labeled mined-line boundaries, drag and keyboard adjustments, audio preview with a sweeping playhead, exact screenshot and AVIF timing, cancellation choices that include keeping a card without media, and a session-only runtime toggle. diff --git a/docs-site/anki-integration.md b/docs-site/anki-integration.md index 2d10b5cf..63bb3667 100644 --- a/docs-site/anki-integration.md +++ b/docs-site/anki-integration.md @@ -181,7 +181,7 @@ The audio is uploaded to Anki's media folder and inserted as `[sound:audio_