summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/InputPrompt.tsx
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-06 22:26:38 -0700
committerN. Taylor Mullen <[email protected]>2025-05-06 22:38:30 -0700
commita588d5cd10e71bbb99912fb4d7f43c162a2a68ba (patch)
tree3f5beee5f3981ea88312bf49f5fa2f67a5c68169 /packages/cli/src/ui/components/InputPrompt.tsx
parent782686bcf33052309db530ef5fe61c35622f7ba5 (diff)
Prevent UI hang on long tool confirmations.
Problem: When a tool confirmation dialog appeared for a potentially long-running operation (e.g., `npm install`), accepting the confirmation would cause the UI to appear to hang. The confirmation dialog would remain visible, and no further UI updates would occur until the long-running task completed. This provided a poor user experience as the application seemed unresponsive. Fix: This change addresses the issue by ensuring the UI is updated to remove the confirmation dialog *before* the long-running operation begins. It also marks the tool as executing so a spinner can be shown. Fixes https://b.corp.google.com/issues/415844994 Signed, sealed, delivered, it's yours! - Gemini, your friendly neighborhood code-slinger
Diffstat (limited to 'packages/cli/src/ui/components/InputPrompt.tsx')
0 files changed, 0 insertions, 0 deletions