Feature Request
Add a collapse/expand button to the question tool dialog, similar to the existing functionality in the todo dock.
Problem
The question tool dialog takes up significant screen space and cannot be temporarily minimized. Users need to:
- Review conversation history or code context before answering
- Temporarily hide the dialog without dismissing it
- Preserve their selected answers while collapsed
Proposed Solution
Implement the same collapse pattern used in session-todo-dock.tsx:
- Clickable header with chevron icon button
- When collapsed: show progress ("Question 1 of 3") + question preview
- When expanded: show full question with all options
- Smooth animation (0.3s transition)
- Preserve user's selected answers
Reference Implementation
packages/app/src/pages/session/composer/session-todo-dock.tsx (lines 42-219)
This component already implements:
IconButton with rotating chevron icon
- Spring-based collapse animation
- State management for collapsed state
- Preview text display when collapsed
Benefits
- Better screen space management
- Consistent UI pattern across dock components
- Improved UX for complex questions
Feature Request
Add a collapse/expand button to the question tool dialog, similar to the existing functionality in the todo dock.
Problem
The question tool dialog takes up significant screen space and cannot be temporarily minimized. Users need to:
Proposed Solution
Implement the same collapse pattern used in
session-todo-dock.tsx:Reference Implementation
packages/app/src/pages/session/composer/session-todo-dock.tsx(lines 42-219)This component already implements:
IconButtonwith rotating chevron iconBenefits