feat(ui): centralize interaction preferences
Expose interaction defaults in Settings and reuse the same registry for command palette actions.
This commit is contained in:
@@ -57,7 +57,6 @@ export const settingsMessages = {
|
||||
"contextUsagePanel.unavailable": "--",
|
||||
|
||||
"settings.title": "Settings",
|
||||
"settings.description": "Manage appearance, notifications, remote access, and OpenCode runtime options.",
|
||||
"settings.navigationAriaLabel": "Settings sections",
|
||||
"settings.close": "Close settings",
|
||||
"settings.content.eyebrow": "Workspace preferences",
|
||||
@@ -70,6 +69,7 @@ export const settingsMessages = {
|
||||
"settings.scope.device": "This device",
|
||||
"settings.scope.server": "Server setting",
|
||||
"settings.common.enabled": "Enabled",
|
||||
"settings.common.disabled": "Disabled",
|
||||
"settings.section.appearance.title": "Appearance",
|
||||
"settings.section.appearance.subtitle": "Adjust how the app looks on this device.",
|
||||
"settings.appearance.theme.title": "Theme",
|
||||
@@ -112,4 +112,31 @@ export const settingsMessages = {
|
||||
"settings.section.opencode.subtitle": "Choose the OpenCode binary and environment used for new instances.",
|
||||
"settings.opencode.runtime.title": "Runtime",
|
||||
"settings.opencode.runtime.subtitle": "Configure which OpenCode binary new instances launch with.",
|
||||
|
||||
"settings.appearance.behavior.title": "Interaction",
|
||||
"settings.appearance.behavior.subtitle": "Message, diff, and input defaults.",
|
||||
"settings.behavior.keyboardHints.title": "Keyboard shortcut hints",
|
||||
"settings.behavior.keyboardHints.subtitle": "Show keyboard shortcut hints across the UI.",
|
||||
"settings.behavior.thinking.title": "Thinking sections",
|
||||
"settings.behavior.thinking.subtitle": "Show or hide AI thinking sections in messages.",
|
||||
"settings.behavior.thinkingDefault.title": "Thinking default",
|
||||
"settings.behavior.thinkingDefault.subtitle": "Choose whether thinking sections start expanded or collapsed.",
|
||||
"settings.behavior.timelineTools.title": "Timeline tool calls",
|
||||
"settings.behavior.timelineTools.subtitle": "Show or hide tool call entries in the message timeline.",
|
||||
"settings.behavior.diffView.title": "Diff view",
|
||||
"settings.behavior.diffView.subtitle": "Choose how tool-call diffs are displayed.",
|
||||
"settings.behavior.diffView.option.split": "Split",
|
||||
"settings.behavior.diffView.option.unified": "Unified",
|
||||
"settings.behavior.toolOutputsDefault.title": "Tool outputs default",
|
||||
"settings.behavior.toolOutputsDefault.subtitle": "Choose whether tool outputs start expanded or collapsed.",
|
||||
"settings.behavior.diagnosticsDefault.title": "Diagnostics default",
|
||||
"settings.behavior.diagnosticsDefault.subtitle": "Choose whether diagnostics output starts expanded or collapsed.",
|
||||
"settings.behavior.toolInputsVisibility.title": "Tool inputs visibility",
|
||||
"settings.behavior.toolInputsVisibility.subtitle": "Set default visibility for tool call input arguments.",
|
||||
"settings.behavior.usageMetrics.title": "Token usage metrics",
|
||||
"settings.behavior.usageMetrics.subtitle": "Show or hide token and cost stats for assistant messages.",
|
||||
"settings.behavior.autoCleanup.title": "Auto-cleanup blank sessions",
|
||||
"settings.behavior.autoCleanup.subtitle": "Automatically clean up blank sessions when creating new ones.",
|
||||
"settings.behavior.promptSubmit.title": "Enter to submit",
|
||||
"settings.behavior.promptSubmit.subtitle": "Use Enter to submit prompts; Cmd/Ctrl+Enter inserts a new line.",
|
||||
} as const
|
||||
|
||||
Reference in New Issue
Block a user