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-27 - Add Truncation Indicator for Long Lists
**Learning:** When displaying dynamic lists in terminal UIs (such as those using `ink`), if the list is truncated to fit constraints (e.g., a `maxVisible` limit), it is important to include an explicit visual indicator to preserve user situational awareness.
**Action:** Always add a visible indicator like '... and X more tasks' when truncating lists to ensure users know there is more data than what is currently displayed.
1 change: 0 additions & 1 deletion bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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={0}>
<Text color={COLORS.text.muted} dimColor>
... and {todos.length - maxVisible} more{' '}
{todos.length - maxVisible === 1 ? 'task' : 'tasks'}
</Text>
</Box>
)}
</Box>
)}
</Box>
Expand Down
Loading