From 32677e785bbae7eebcbfb421568baf2446f66a59 Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 21 Mar 2026 10:46:53 +0000 Subject: [PATCH] =?UTF-8?q?agent:=20components=20=E2=80=94=20add=20WIP=20t?= =?UTF-8?q?ask=20list=20and=20visual=20timer=20components?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- src/lib/components/VisualTimer.svelte | 33 +++++++++ src/lib/components/WipTaskList.svelte | 98 +++++++++++++++++++++++++++ 2 files changed, 131 insertions(+) create mode 100644 src/lib/components/VisualTimer.svelte create mode 100644 src/lib/components/WipTaskList.svelte diff --git a/src/lib/components/VisualTimer.svelte b/src/lib/components/VisualTimer.svelte new file mode 100644 index 0000000..82a8a51 --- /dev/null +++ b/src/lib/components/VisualTimer.svelte @@ -0,0 +1,33 @@ + + + diff --git a/src/lib/components/WipTaskList.svelte b/src/lib/components/WipTaskList.svelte new file mode 100644 index 0000000..a6b08ae --- /dev/null +++ b/src/lib/components/WipTaskList.svelte @@ -0,0 +1,98 @@ + + +
+ +
+ +
+ + + {#if visibleTasks.length === 0} +

No active tasks

+ {:else} +
+ {#each visibleTasks as task (task.id)} +
+ + {task.text} + +
+ {/each} +
+ {/if} + + + {#if hasOverflow} + + + {#if showOverflow} +
+ {#each overflowTasks as task (task.id)} +
+
+ {task.text} +
+ {/each} +
+ {/if} + {/if} + + + {#if activeTasks.length > 0} +

+ {Math.min(activeTasks.length, wipLimit)}/{wipLimit} active +

+ {/if} +