aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Locale/layout.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-21 13:44:46 +0000
committerFuwn <[email protected]>2026-05-21 13:44:46 +0000
commit08641a3f6f1d95cc8d8dbfeebdecf6c0d2a2b0a6 (patch)
treefc75c02f41c3e44c373f53679d561334037cdaec /src/lib/Locale/layout.ts
parentfix(lists): optimistic increment and snapshot to remove refresh flash (diff)
downloaddue.moe-08641a3f6f1d95cc8d8dbfeebdecf6c0d2a2b0a6.tar.xz
due.moe-08641a3f6f1d95cc8d8dbfeebdecf6c0d2a2b0a6.zip
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.
Diffstat (limited to 'src/lib/Locale/layout.ts')
-rw-r--r--src/lib/Locale/layout.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Locale/layout.ts b/src/lib/Locale/layout.ts
index f317ab7f..697404f2 100644
--- a/src/lib/Locale/layout.ts
+++ b/src/lib/Locale/layout.ts
@@ -282,6 +282,10 @@ export interface Locale {
hint2: LocaleValue;
};
dummyLists: LocaleValue;
+ dryRunMutations: {
+ title: LocaleValue;
+ hint: LocaleValue;
+ };
};
hololive: {
live: LocaleValue;