🎨 Palette: [Truncated Dynamic Lists UX] - #387
Conversation
When the number of tasks in the TodoDrawer exceeds `maxVisible`, they are silently truncated. This adds an explicit visual indicator showing exactly how many tasks are hidden, improving situational awareness.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
已由 #412 实现,关闭 🎨这个 UX 判断是对的 —— 静默截断列表确实会让用户失去情境感知。功能已经合入 main(#412,commit main 上的现状( {todos.length > maxVisible && (
<Box flexDirection="row">
<Box width={6}><Text> </Text></Box>
<Box flexGrow={1}>
<Text color={COLORS.text.muted} dimColor>
... and {todos.length - maxVisible} more task
{todos.length - maxVisible === 1 ? '' : 's'}
</Text>
</Box>
</Box>
)}对齐( 重复提交问题同一个
同批处置
|
Understood. Acknowledging that this feature has already been implemented in #412 and is merged in main, making this PR a duplicate. I will stop work on this task. I also note the feedback regarding checking for open PRs and reading the git log before submitting to avoid duplicate work. |
💡 What: Added a truncation indicator ("... and X more tasks") to the TodoDrawer.
🎯 Why: Silently truncating dynamic lists in terminal UIs removes situational awareness. Users need to know if there are more tasks than what is visible.
📸 Before/After: Before, a list of 10 tasks with
maxVisible=8would just show 8 tasks with no indication of the remaining 2. After, it explicitly shows "... and 2 more tasks" below the list.♿ Accessibility: Improves cognitive accessibility and situational awareness by not hiding state information implicitly.
PR created automatically by Jules for task 1190499434552026950 started by @YoungSx