import { Badge, Card, CardContent, CardHeader, CardHeaderRight, CardTitle } from '@cognite/aura/components'; import { TodoItemRow } from './TodoItemRow'; import type { TodoList } from './types'; interface TodoPanelProps { todos: TodoList; } export function TodoPanel({ todos }: TodoPanelProps) { if (todos.length === 0) return null; const completedCount = todos.filter((t) => t.status === 'completed').length; const progressPct = Math.round((completedCount / todos.length) * 100); return (