fix(ui): thread header counts only queued items; label the live dot
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user