mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
refactor: rename verboseMode to compactMode for better UX clarity (#3075)
The "Compact Mode" label is more intuitive than "Verbose Mode" for users, as it directly describes the default compact view experience. This change inverts the boolean semantics (compactMode=false means show full output) and exposes the setting in the /settings dialog (showInDialog: true). - Rename ui.verboseMode → ui.compactMode with inverted default (false) - Rename VerboseModeContext → CompactModeContext (file and exports) - Rename TOGGLE_VERBOSE_MODE → TOGGLE_COMPACT_MODE in key bindings - Update all consumer components with inverted logic - Update i18n keys across 6 locales (verbose → compact) - Update VS Code settings schema - Add ui.compactMode documentation to settings.md - Fix Ctrl+O description in keyboard-shortcuts.md
This commit is contained in:
parent
98a0f78c4b
commit
746f67f436
22 changed files with 95 additions and 94 deletions
|
|
@ -51,7 +51,7 @@ export enum Command {
|
|||
EXIT = 'exit',
|
||||
SHOW_MORE_LINES = 'showMoreLines',
|
||||
RETRY_LAST = 'retryLast',
|
||||
TOGGLE_VERBOSE_MODE = 'toggleVerboseMode',
|
||||
TOGGLE_COMPACT_MODE = 'toggleCompactMode',
|
||||
|
||||
// Shell commands
|
||||
REVERSE_SEARCH = 'reverseSearch',
|
||||
|
|
@ -173,7 +173,7 @@ export const defaultKeyBindings: KeyBindingConfig = {
|
|||
[Command.EXIT]: [{ key: 'd', ctrl: true }],
|
||||
[Command.SHOW_MORE_LINES]: [{ key: 's', ctrl: true }],
|
||||
[Command.RETRY_LAST]: [{ key: 'y', ctrl: true }],
|
||||
[Command.TOGGLE_VERBOSE_MODE]: [{ key: 'o', ctrl: true }],
|
||||
[Command.TOGGLE_COMPACT_MODE]: [{ key: 'o', ctrl: true }],
|
||||
|
||||
// Shell commands
|
||||
[Command.REVERSE_SEARCH]: [{ key: 'r', ctrl: true }],
|
||||
|
|
|
|||
|
|
@ -591,15 +591,15 @@ const SETTINGS_SCHEMA = {
|
|||
description: 'The last time the feedback dialog was shown.',
|
||||
showInDialog: false,
|
||||
},
|
||||
verboseMode: {
|
||||
compactMode: {
|
||||
type: 'boolean',
|
||||
label: 'Verbose Mode',
|
||||
label: 'Compact Mode',
|
||||
category: 'UI',
|
||||
requiresRestart: false,
|
||||
default: true,
|
||||
default: false,
|
||||
description:
|
||||
'Show full tool output and thinking in verbose mode (toggle with Ctrl+O).',
|
||||
showInDialog: false,
|
||||
'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).',
|
||||
showInDialog: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue