The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(todo-list): cover compact floating card styling
Steven Enamakelfdf73da82081
diff --git a/app/src/components/assistant-ui/elements/todo-list.test.tsx b/app/src/components/assistant-ui/elements/todo-list.test.tsxindex 06ab63ea79..1b6cc4f2d4 100644--- a/app/src/components/assistant-ui/elements/todo-list.test.tsx+++ b/app/src/components/assistant-ui/elements/todo-list.test.tsx@@ -38,6 +38,15 @@ describe('todoProgress', () => {describe('TodoProgressCard', () => {const labels = { title: 'Todos', completedLabel: 'Completed', countLabel: '1 of 3' };+ it('uses a compact floating surface across the composer width', () => {+ const { container } = render(+ <TodoProgressCard items={items} open onOpenChange={vi.fn()} {...labels} />+ );+ const card = container.querySelector('[data-slot="todo-progress-card"]');+ expect(card).toHaveClass('max-w-none', 'bg-transparent', 'backdrop-blur-md');+ expect(screen.getAllByTestId('todo-item')[0]).toHaveClass('text-xs', 'py-0');+ });+it('collapsed shows the current step and pos/total, not the list', () => {render(<TodoProgressCard items={items} open={false} onOpenChange={vi.fn()} {...labels} />);const toggle = screen.getByRole('button', { name: 'Todos' });