summaryrefslogtreecommitdiffhomepage
path: root/src/features/surface-host/logic/todo.test.ts
AgeCommit message (Collapse)Author
8 daysrefactor(todo): drop priority field — keep the tool simpleAdam Malczewski
Backend removed priority from TodoItem; FE parser + renderer updated to match (status-only: pending/in_progress/completed/cancelled).
8 daysfeat(surfaces): todo task list sidebar viewAdam Malczewski
Add a dedicated "Tasks" sidebar view for the per-conversation todo surface (model-maintained via todo_write tool; read-only, conversation-scoped). - parseTodoPayload: pure parser for the rendererId: "todo" custom field (TodoItem { content, status, priority } — types defined FE-side, not in wire) - TodoList.svelte: renders the task list with status indicators (spinner for in_progress, checkmark for completed, X for cancelled, empty circle for pending) + priority dots (red/yellow/gray) - SurfaceView dispatches rendererId: "todo" to TodoList - App.svelte: "Tasks" view kind (always visible; "No tasks yet" empty state), todo surface pulled out of the generic Extensions list, re-mounts per conversation via {#key} 681 tests green.