From 4db4aaf61c0cc6161a4676ea7bd4a25a90e39b40 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sun, 8 Mar 2026 23:46:22 +0000 Subject: web: include BUDGET_EXCEEDED and BLOCKED in interrupted view Moved BUDGET_EXCEEDED and BLOCKED states from DONE and ACTIVE sets to the INTERRUPTED set in the frontend, ensuring they appear in the correct tab. --- web/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app.js b/web/app.js index f96f70e..9742c25 100644 --- a/web/app.js +++ b/web/app.js @@ -229,9 +229,9 @@ function sortTasksByDate(tasks) { // ── Filter ──────────────────────────────────────────────────────────────────── const HIDE_STATES = new Set(['COMPLETED', 'FAILED']); -const ACTIVE_STATES = new Set(['PENDING', 'QUEUED', 'RUNNING', 'READY', 'BLOCKED']); -const INTERRUPTED_STATES = new Set(['CANCELLED', 'FAILED']); -const DONE_STATES = new Set(['COMPLETED', 'TIMED_OUT', 'BUDGET_EXCEEDED']); +const ACTIVE_STATES = new Set(['PENDING', 'QUEUED', 'RUNNING', 'READY']); +const INTERRUPTED_STATES = new Set(['CANCELLED', 'FAILED', 'BUDGET_EXCEEDED', 'BLOCKED']); +const DONE_STATES = new Set(['COMPLETED', 'TIMED_OUT']); // filterActiveTasks uses its own set (excludes PENDING — tasks "in-flight" only) const _PANEL_ACTIVE_STATES = new Set(['RUNNING', 'READY', 'QUEUED', 'BLOCKED']); -- cgit v1.2.3