Skip to content

Commit 7ceb062

Browse files
committed
cli: Redesign ask-user to accordion layout
- Replace paginated form with accordion FAQ-style layout - All questions visible at once, expandable to show options - Use OpenTUI useKeyboard hook for terminal keyboard handling - Use MultilineInput component for Custom text input - Rename "Other" to "Custom" with consistent radio button styling - Fix multi-select answer formatting (always use selectedOptions array) - Hide question numbers when only one question - Delete unused components: confirm-screen, progress-indicator, question-header - Delete unused hooks: use-auto-advance, use-focus-manager, use-keyboard-navigation - Simplify chat-input-bar integration with new accordion API
1 parent 3dae913 commit 7ceb062

23 files changed

+885
-2852
lines changed

cli/src/chat.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,12 +1452,7 @@ export const Chat = ({
14521452
>
14531453
{shouldShowStatusLine && (
14541454
<StatusBar
1455-
statusMessage={statusMessage}
1456-
streamStatus={streamStatus}
14571455
timerStartTime={timerStartTime}
1458-
nextCtrlCWillExit={nextCtrlCWillExit}
1459-
isConnected={isConnected}
1460-
authStatus={authStatus}
14611456
isAtBottom={isAtBottom}
14621457
scrollToLatest={scrollToLatest}
14631458
statusIndicatorState={statusIndicatorState}

cli/src/components/ask-user/__tests__/focus-helpers.test.ts

Lines changed: 0 additions & 168 deletions
This file was deleted.

0 commit comments

Comments
 (0)