From eb4b2fab5a8fe0fffbf4e61f1163680fd87cc28a Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Mon, 9 Nov 2026 09:05:47 +1100 Subject: [PATCH] fix(ui): dashboard shows five tasks needing attention, not every one --- ui/src/dashboard/NeedsAttentionCard.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/src/dashboard/NeedsAttentionCard.vue b/ui/src/dashboard/NeedsAttentionCard.vue index fa9a03088..c56eb9209 100644 --- a/ui/src/dashboard/NeedsAttentionCard.vue +++ b/ui/src/dashboard/NeedsAttentionCard.vue @@ -22,6 +22,10 @@ const waiting = computed(() => { return ((tasks.value ?? []) as AttentionTask[]).filter((t) => t.status && ids.has(t.status)); }); +// Each row mounts its own action menu, so an unbounded list freezes the page +// when many tasks park at once; the rest are one click away on the tasks page. +const shown = computed(() => waiting.value.slice(0, 5)); + function meta(task: AttentionTask): string { const where = task.owner && task.repo ? `${task.owner}/${task.repo}${task.issue_url && task.issue_number ? ` #${task.issue_number}` : ""}` : ""; return [where, task.workflow, task.park_reason || task.plan].filter(Boolean).join(" ยท "); @@ -31,10 +35,10 @@ function meta(task: AttentionTask): string {