Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/src/ui/components/messages/Todo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const TodoTray: React.FC = () => {

return (
<Checklist
title="Todo"
title="Tasks"
Comment thread
aniruddhaadak80 marked this conversation as resolved.
items={checklistItems}
isExpanded={uiState.showFullTodos}
toggleHint={`${formatCommand(Command.SHOW_FULL_TODOS)} to toggle`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`<TodoTray /> (showFullTodos: false) > renders a todo list with long descriptions that wrap when full view is on 1`] = `
"──────────────────────────────────────────────────
Todo 1/2 completed (Ctrl+T to toggle) » This i
Tasks 1/2 completed (Ctrl+T to toggle) » This …
"
`;

Expand All @@ -14,25 +14,25 @@ exports[`<TodoTray /> (showFullTodos: false) > renders null when todo list is em

exports[`<TodoTray /> (showFullTodos: false) > renders the most recent todo list when multiple write_todos calls are in history 1`] = `
"────────────────────────────────────────────────────────────────────────────────────────────────────
Todo 0/2 completed (Ctrl+T to toggle) » Newer Task 2
Tasks 0/2 completed (Ctrl+T to toggle) » Newer Task 2
"
`;

exports[`<TodoTray /> (showFullTodos: false) > renders when todos exist and one is in progress 1`] = `
"────────────────────────────────────────────────────────────────────────────────────────────────────
Todo 1/3 completed (Ctrl+T to toggle) » Task 2
Tasks 1/3 completed (Ctrl+T to toggle) » Task 2
"
`;

exports[`<TodoTray /> (showFullTodos: false) > renders when todos exist but none are in progress 1`] = `
"────────────────────────────────────────────────────────────────────────────────────────────────────
Todo 1/2 completed (Ctrl+T to toggle)
Tasks 1/2 completed (Ctrl+T to toggle)
"
`;

exports[`<TodoTray /> (showFullTodos: true) > renders a todo list with long descriptions that wrap when full view is on 1`] = `
"──────────────────────────────────────────────────
Todo 1/2 completed (Ctrl+T to toggle)
Tasks 1/2 completed (Ctrl+T to toggle)

» This is a very long description for a pending
task that should wrap around multiple lines
Expand All @@ -44,7 +44,7 @@ exports[`<TodoTray /> (showFullTodos: true) > renders a todo list with long desc

exports[`<TodoTray /> (showFullTodos: true) > renders full list when all todos are inactive 1`] = `
"────────────────────────────────────────────────────────────────────────────────────────────────────
Todo 1/1 completed (Ctrl+T to toggle)
Tasks 1/1 completed (Ctrl+T to toggle)

✓ Task 1
✗ Task 2
Expand All @@ -57,7 +57,7 @@ exports[`<TodoTray /> (showFullTodos: true) > renders null when todo list is emp

exports[`<TodoTray /> (showFullTodos: true) > renders the most recent todo list when multiple write_todos calls are in history 1`] = `
"────────────────────────────────────────────────────────────────────────────────────────────────────
Todo 0/2 completed (Ctrl+T to toggle)
Tasks 0/2 completed (Ctrl+T to toggle)

☐ Newer Task 1
» Newer Task 2
Expand All @@ -66,7 +66,7 @@ exports[`<TodoTray /> (showFullTodos: true) > renders the most recent todo list

exports[`<TodoTray /> (showFullTodos: true) > renders when todos exist and one is in progress 1`] = `
"────────────────────────────────────────────────────────────────────────────────────────────────────
Todo 1/3 completed (Ctrl+T to toggle)
Tasks 1/3 completed (Ctrl+T to toggle)

☐ Pending Task
» Task 2
Expand All @@ -77,7 +77,7 @@ exports[`<TodoTray /> (showFullTodos: true) > renders when todos exist and one i

exports[`<TodoTray /> (showFullTodos: true) > renders when todos exist but none are in progress 1`] = `
"────────────────────────────────────────────────────────────────────────────────────────────────────
Todo 1/2 completed (Ctrl+T to toggle)
Tasks 1/2 completed (Ctrl+T to toggle)

☐ Pending Task
✗ In Progress Task
Expand Down