Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(todo-list): add assistant todo list element

Steven Enamakel8caf14e66936
diff --git a/app/src/components/assistant-ui/elements/todo-list.tsx b/app/src/components/assistant-ui/elements/todo-list.tsx
index bfa653bdfb..9aa5496090 100644
--- a/app/src/components/assistant-ui/elements/todo-list.tsx
+++ b/app/src/components/assistant-ui/elements/todo-list.tsx
@@ -223,13 +223,15 @@ export function TodoProgressCard({
)}
/>
</button>
- {open && (
- <div
- data-slot="todo-progress-steps"
- className="border-border/60 max-h-[min(300px,48dvh)] overflow-y-auto border-t px-3 py-2">
- <TodoItems items={items} />
- </div>
- )}
+ {/* Mounted while collapsed, only `hidden`: the steps stay in the DOM so
+ the pinned card's state is still readable (desktop E2E reads the
+ `todo-item` rows) without taking any space. */}
+ <div
+ data-slot="todo-progress-steps"
+ hidden={!open}
+ className="border-border/60 max-h-[min(300px,48dvh)] overflow-y-auto border-t px-3 py-2">
+ <TodoItems items={items} />
+ </div>
</div>
);
}