fix(ui): thread header counts only queued items; label the live dot

This commit is contained in:
hh
2026-08-29 01:08:44 +02:00
parent 932a7a80af
commit 4fb020c788
2 changed files with 16 additions and 8 deletions
+9 -3
View File
@@ -45,6 +45,9 @@
const WINDOW_MAX = 56;
const windows = $derived(info.bindings.filter((b) => b.visible));
const queued = $derived(
info.queue.filter((item) => item.status === "queued").length
);
const SEEDS = [
{ label: "clean - empty context", value: "clean" },
@@ -196,9 +199,12 @@
<span class="tabular">
last activity {fmtRelative(info.last_activity_at)}
</span>
{#if info.queue.length > 0}
<span class="tabular font-medium text-note">
{info.queue.length}
{#if queued > 0}
<span
class="tabular font-medium text-note"
title="messages waiting for the next turn"
>
{queued}
queued
</span>
{/if}