mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
feat: Refactor feedback dialog to a non-blocking popup, allow user input while it is rendered
This commit is contained in:
parent
9325721811
commit
d91e372c72
6 changed files with 48 additions and 24 deletions
|
|
@ -26,6 +26,7 @@ import { useSettings } from '../contexts/SettingsContext.js';
|
|||
import { ApprovalMode } from '@qwen-code/qwen-code-core';
|
||||
import { StreamingState } from '../types.js';
|
||||
import { ConfigInitDisplay } from '../components/ConfigInitDisplay.js';
|
||||
import { FeedbackDialog } from '../FeedbackDialog.js';
|
||||
import { t } from '../../i18n/index.js';
|
||||
|
||||
export const Composer = () => {
|
||||
|
|
@ -134,6 +135,8 @@ export const Composer = () => {
|
|||
</OverflowProvider>
|
||||
)}
|
||||
|
||||
{uiState.isFeedbackDialogOpen && <FeedbackDialog />}
|
||||
|
||||
{uiState.isInputActive && (
|
||||
<InputPrompt
|
||||
buffer={uiState.buffer}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue