This commit is contained in:
LaZzyMan 2026-03-09 16:01:16 +08:00
parent 597ce85335
commit a19f1b1ab3
8 changed files with 74 additions and 11 deletions

View file

@ -633,6 +633,9 @@ export const MCPManagementDialog: React.FC<MCPManagementDialogProps> = ({
case MCP_MANAGEMENT_STEPS.TOOL_DETAIL:
footerText = t('Esc to back');
break;
case MCP_MANAGEMENT_STEPS.AUTHENTICATE:
footerText = t('Press Enter to start authentication, Esc to go back');
break;
default:
footerText = t('Esc to close');
}

View file

@ -154,21 +154,11 @@ export const AuthenticateStep: React.FC<AuthenticateStepProps> = ({
{/* Action hints */}
<Box>
{authState === 'idle' && (
<Text color={theme.text.secondary}>
{t('Press Enter to start authentication, Esc to go back')}
</Text>
)}
{authState === 'authenticating' && (
<Text color={theme.text.secondary}>
{t('Authenticating... Please complete the login in your browser.')}
</Text>
)}
{(authState === 'success' || authState === 'error') && (
<Text color={theme.text.secondary}>
{t('Press Enter or Esc to go back')}
</Text>
)}
</Box>
</Box>
);