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
3 changes: 3 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2026-08-22 - Truncation Indicators in Terminal Lists
**Learning:** Users lose situational awareness when dynamic lists in terminal UIs are silently truncated to fit constraints (like `maxVisible`).
**Action:** Always include an explicit visual indicator (e.g., "... and X more tasks") when slicing arrays for terminal list displays.
8 changes: 8 additions & 0 deletions src/cli/ui/components/TodoDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ export function TodoDrawer({
</Box>
))
)}
{todos.length > maxVisible && (
<Box flexDirection="row" marginTop={1}>
<Text color={COLORS.text.muted} dimColor>
... and {todos.length - maxVisible} more task
{todos.length - maxVisible === 1 ? '' : 's'}
</Text>
</Box>
)}
</Box>
)}
</Box>
Expand Down
Loading