fix(settings): highlight changes that apply next turn (#2201)

Permission and thinking changes made during an active turn do not affect that turn. Use setting-specific warnings so the timing is harder to miss.
This commit is contained in:
Mohamed Boudra
2026-07-18 18:45:23 +02:00
committed by GitHub
parent e0e50c9a8e
commit 2185779d6c
9 changed files with 45 additions and 23 deletions
@@ -13,7 +13,7 @@ export function showProviderNoticeToast(
return;
}
toast.show(notice.message, {
variant: "default",
durationMs: notice.type === "warning" ? 3200 : undefined,
variant: notice.type,
durationMs: notice.type === "warning" ? 5000 : undefined,
});
}