mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
feat(accessibility): Add option to disable loading phrases (#745)
This commit is contained in:
parent
d179b3aae4
commit
afc30e314f
6 changed files with 31 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ import { StreamingState } from '../types.js';
|
|||
import { GeminiRespondingSpinner } from './GeminiRespondingSpinner.js';
|
||||
|
||||
interface LoadingIndicatorProps {
|
||||
currentLoadingPhrase: string;
|
||||
currentLoadingPhrase?: string;
|
||||
elapsedTime: number;
|
||||
rightContent?: React.ReactNode;
|
||||
}
|
||||
|
|
@ -37,7 +37,9 @@ export const LoadingIndicator: React.FC<LoadingIndicatorProps> = ({
|
|||
}
|
||||
/>
|
||||
</Box>
|
||||
<Text color={Colors.AccentPurple}>{currentLoadingPhrase}</Text>
|
||||
{currentLoadingPhrase && (
|
||||
<Text color={Colors.AccentPurple}>{currentLoadingPhrase}</Text>
|
||||
)}
|
||||
<Text color={Colors.SubtleComment}>
|
||||
{streamingState === StreamingState.WaitingForConfirmation
|
||||
? ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue