feat(FN-5046): complete Step 4 — add terminal-only notification mode in settings UI
Fusion-Task-Id: FN-5046 Fusion-Task-Lineage: 0748fd0e-70c3-44b9-a599-0df5255d4d60
This commit is contained in:
committed by
gsxdsm
parent
c31bf013df
commit
000b0e6c93
@@ -5872,16 +5872,15 @@ export function SettingsModal({
|
||||
id="failureNotificationMode"
|
||||
value={form.failureNotificationMode ?? "sticky-only"}
|
||||
onChange={(e) => {
|
||||
const value = e.target.value as "sticky-only" | "all";
|
||||
const value = e.target.value as "sticky-only" | "all" | "terminal-only";
|
||||
setForm((f) => ({ ...f, failureNotificationMode: value }));
|
||||
}}
|
||||
>
|
||||
<option value="sticky-only">Sticky failures only (default)</option>
|
||||
<option value="terminal-only">Terminal failures only (suppress auto-retried)</option>
|
||||
<option value="all">All failures (legacy)</option>
|
||||
</select>
|
||||
<small>
|
||||
Sticky-only suppresses notifications for transient failures that the engine auto-recovers. Choose "All failures" for the legacy immediate-notification behavior.
|
||||
</small>
|
||||
<small>Sticky-only suppresses recovered failures; terminal-only waits for paused/in-review failed tasks; all restores legacy alerts.</small>
|
||||
</div>
|
||||
<div className="form-group">
|
||||
<label htmlFor="failureNotificationDelayMs">Failure notification delay (ms)</label>
|
||||
|
||||
Reference in New Issue
Block a user