summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-08 23:46:22 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-08 23:46:22 +0000
commit4db4aaf61c0cc6161a4676ea7bd4a25a90e39b40 (patch)
tree46871f023fb5f17dbf97545cefa31b995926eca8 /web
parente5255dcc85c7c4bb0e8838c0064dd545ed0bd830 (diff)
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.
Diffstat (limited to 'web')
-rw-r--r--web/app.js6
1 files 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']);