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} +