From 08641a3f6f1d95cc8d8dbfeebdecf6c0d2a2b0a6 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 21 May 2026 13:44:46 +0000 Subject: feat(debug): add dry-run mutations mode New 'Dry-run mutations' toggle in the Debug settings panel blocks outgoing list updates (the + button) and skips the post-mutation refresh so optimistic UI changes persist locally for testing. The mutation gate sits in incrementMediaProgress; CleanAnimeList only revalidates when the request actually went out. --- src/lib/Locale/japanese.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/Locale/japanese.ts') diff --git a/src/lib/Locale/japanese.ts b/src/lib/Locale/japanese.ts index af309a25..8e3744d4 100644 --- a/src/lib/Locale/japanese.ts +++ b/src/lib/Locale/japanese.ts @@ -284,6 +284,10 @@ const Japanese: Locale = { "データの読み込みやログアウトに問題がある場合、サイトデータをクリアすることをお勧めします。", }, dummyLists: "ダミーメディアリストを使用する", + dryRunMutations: { + title: "ドライランモード", + hint: "リストの更新リクエスト(+ボタンなど)の送信をブロックし、更新後の再取得もスキップします。楽観的UIの変更をローカルで保持してテストできます。AniListにはデータは送信されません。", + }, }, hololive: { live: "ライブ", -- cgit v1.2.3