Improve kill job feedback messages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-06 18:22:55 +02:00
parent 54c7b75cee
commit 53476455e3

View File

@@ -94,9 +94,10 @@ class RunningTasksScreen(Screen):
job_id = str(row_key)
job = job_manager.get_job(job_id)
if not job:
self.notify("Job not found", severity="warning")
return
if job.status != "running":
self.notify("Job is not running", severity="warning")
self.notify(f"Job already finished ({job.status})", severity="warning")
return
self.app.push_screen(
ConfirmDialog(f"Kill job '{job.label}'?", "Confirm Kill"),