From a7a95bb8668bc86e5fdaeb557325a92ef91d02e8 Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Wed, 4 Feb 2026 12:57:48 +0100 Subject: [PATCH] add shortjobs and resource sums to project and user lists --- internal/repository/stats.go | 2 +- web/frontend/src/List.root.svelte | 91 +++++++++++++++++++++++++++++-- 2 files changed, 86 insertions(+), 7 deletions(-) diff --git a/internal/repository/stats.go b/internal/repository/stats.go index af764d46..942d6037 100644 --- a/internal/repository/stats.go +++ b/internal/repository/stats.go @@ -466,7 +466,7 @@ func (r *JobRepository) JobCountGrouped( // AddJobCountGrouped augments existing statistics with additional job counts by category. // // This method enriches JobsStatistics returned by JobsStatsGrouped or JobCountGrouped -// with counts of running or short-running jobs, matched by group ID. +// with counts of running or short-running (based on ShortRunningJobsDuration) jobs, matched by group ID. // // Parameters: // - ctx: Context for security checks diff --git a/web/frontend/src/List.root.svelte b/web/frontend/src/List.root.svelte index eb81b4c7..6bc1cd8f 100644 --- a/web/frontend/src/List.root.svelte +++ b/web/frontend/src/List.root.svelte @@ -7,7 +7,7 @@ -->