From 89affe41b03de6815c8f8bbfafdc1c04fedafd73 Mon Sep 17 00:00:00 2001 From: Wolf Beckmann Date: Fri, 27 Mar 2026 10:03:01 +0100 Subject: [PATCH] feat(diarization-ui): live-poll job status on jobs page Replace static server-rendered job cards with JS-driven polling of /jobs/data every 3s (active jobs) or 10s (all idle). Cards are re-rendered client-side, preserving checkbox selection. Polling accelerates when queued/running jobs exist and resumes on tab focus. Co-Authored-By: Claude Sonnet 4.6 --- app.py | 113 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 91 insertions(+), 22 deletions(-) diff --git a/app.py b/app.py index 040ea4f..bf3e196 100644 --- a/app.py +++ b/app.py @@ -1190,7 +1190,7 @@ def jobs_page(queued: Optional[int] = None): 0 ausgewählt -
Live-Update aktiv …
+
{pre}
""" return layout("Jobs", body)