mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-23 08:45:50 +00:00
fix: 优化权限提示用词和 Help 页面新手引导
- Help General 页添加 3 步 Getting started 引导,替代单段描述 - 权限对话框底部 "Esc to cancel" → "Esc to reject","Tab to amend" → "Tab to add feedback" - .claude/ 文件夹权限选项标签从 60 字符缩至 49 字符,避免窄终端截断 - 新增 10 个测试覆盖权限提示文案和帮助页引导内容 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -514,9 +514,9 @@ function BashPermissionRequestInner({
|
||||
</Box>
|
||||
<Box justifyContent="space-between" marginTop={1}>
|
||||
<Text dimColor>
|
||||
Esc to cancel
|
||||
Esc to reject
|
||||
{((focusedOption === 'yes' && !yesInputMode) || (focusedOption === 'no' && !noInputMode)) &&
|
||||
' · Tab to amend'}
|
||||
' · Tab to add feedback'}
|
||||
{explainerState.enabled && ` · ctrl+e to ${explainerState.visible ? 'hide' : 'explain'}`}
|
||||
</Text>
|
||||
{toolUseContext.options.debug && <Text dimColor>Ctrl+d to show debug info</Text>}
|
||||
|
||||
Reference in New Issue
Block a user