Standardize Settings layout and save feedback (#2122)
* Group settings navigation menu Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Revert "Group settings navigation menu" This reverts commit 5983a4e82074b8dab1084af1cadd803ba28ea65d. * Standardize settings layout feedback Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Fix settings save status timer typing Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Retain settings save status Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Report color mode save state Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Match Appearance settings to two-column layout Rebuild Appearance into Color mode & Theme, Localization, and Density & type sections with responsive two-column grids, consistent section headers, page description, and green save status. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Migrate settings pages to SettingsPageLayout and SettingsSection Replace ScrollableOverlay/max-w-3xl shells with the shared settings layout primitives across entity and static settings pages, normalize section headers, and add settings.page.behavior.description locales. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Unify remaining settings pages on shared section chrome Wire Appearance, Projects, and Remote Instances through SettingsSection/SettingsPageLayout so every settings surface shares the same header, divider, and page shell treatment. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Align settings UI with OpenChamber design system kit Apply kit geometry and control specs: 840px content width, 32/48 padding, fixed 260/280 sidebars, radius/spacing tokens, settings select height, stepper dimensions, and shared field/link typography. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Migrate OpenChamberVisualSettings to shared settings primitives Replace ad-hoc radio/checkbox/chip/field layouts with SettingsSection shared chrome for Appearance, Density, Navigation, Chat/behavior, and Privacy while preserving handlers and data-settings-item anchors. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Migrate settings pages to shared field/checkbox/radio primitives Unify Defaults, Notifications, Behavior, Git, Session Retention, Passkeys, OpenCode CLI, Commands, About, Keyboard Shortcuts, and Desktop Network on SettingsFieldRow / SettingsCheckboxRow / SettingsRadioGroup / SettingsChipGroup for consistent grid, spacing, and DRY layout. Also remove the GitPage double SettingsSection wrap around GitHubSettings. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Unify remaining settings pages onto shared field primitives Migrate Agents, Snippets, Skills, Usage, MCP identity rows and selects to SettingsFieldRow/CheckboxRow/ChipGroup and SETTINGS_SELECT_*; align page titles; light-touch Voice/Tunnel/Providers/Plugins without rewriting complex OAuth, permissions, or tunnel flows. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Polish settings section dividers and transport helper text Slightly stronger section borders for clearer group separation, and keep message-stream transport description under the chip control. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Fix settings grid alignment, control heights, and Chat section titles Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Tighten settings grid: flat Chat 2x2 and full-width stacked selects Message options use a flat two-column grid so row headers share a baseline. Stacked selects fill their column; field-row selects keep a fixed sm:w-56 width. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Align mixed settings controls to shared FieldRow/CheckboxRow grid Separate FieldRows from CheckboxRows with SettingsInset, move enum radios into ControlGroups, and convert misplaced StackedFields to full-width FieldRows so left edges no longer clash. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Translate Behavior response-style preset labels for es and pl Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Group settings nav into categories and improve icons/order Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Fix settings layout: fewer hrs, shared control widths, chat transport section Remove SettingsInset top borders, align App install/Density controls to full cluster width, give Message Stream Transport its own Chat section, and fold Sessions Small Model into the first section to cut extra dividers. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Align Voice and MCP settings labels with shared heading classes Swap form field labels to SETTINGS_FIELD_LABEL_CLASS and use SettingsGroupTitle for MCP control-group headings (manual auth fallback, request headers). Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Differentiate settings heading levels by context Page titles are larger and quieter than section titles; group and field labels use dedicated shared classes so hierarchy is consistent across settings surfaces without ad-hoc typography mixes. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Use shared settings title classes in SettingsView home Wire home and unavailable headings through the shared L1/L2 class constants so they stay aligned with SettingsPageLayout. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Keep settings number steppers from stretching +/- buttons Density & type NumberInputs no longer flex-grow across the row, and NumberInput locks minus/plus to fixed width so the plus side cannot inflate when the control is placed in a full-width cluster. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Place spacing and input-bar offset on their own row Density & type now lays out as font families, then font sizes, then Spacing Density / Input Bar Offset on the row below. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Regroup settings nav and improve Voice layout Drop Advanced/Usage/Git nav categories: Voice and About under Interface, Usage under OpenCode, Git under Workspace. Voice provider chips and STT model cards use shared settings primitives with roomier spacing and a two-column model grid. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> * Space out chat feature groups in visual settings * Polish settings: save-state wiring, container-query layouts, unified dropdown triggers - Wire shared save indicator into Behavior page saves and git identity CRUD - Convert settings layout primitives and page rows from viewport to container queries so narrow panes stack instead of clipping - Unify custom dropdown triggers (model/agent/provider pickers) and remaining page selects on the settings control size - Bump global radius scale by 1px; align variant input with select size - Migrate stray raw controls (MCP OAuth checkbox, worktree remove button, git identity dialog rows, skills dialog labels) onto shared primitives - Make settings nav items span full sidebar width; trim nav to 240px * Add General settings page, regroup nav, cap control widths, promote chat feature headers * Mobile settings nav: plain background and touch-sized rows * Hide secondary settings descriptions behind clickable info hints * Move quota credentials to Usage, navigation settings to General, rename External Tunnel * Quiet settings save indicator: silent success, delayed spinner, visible errors * Rewrite settings-ui-patterns skill around shared primitives and refactored conventions * Remove settings starter page; open last visited page, defaulting to General * Settings polish: spacing, control sizes, trigger widths, readable model names, device dates * Centralize dropdown trigger chrome, settings nav polish, mobile-only input bar offset * Fix global line-height regression, auto-hide first-section divider, shortcut row spacing * Global line-height 1.45, align scheduled tasks header button with select * Hide editor toolbar and About in VS Code, animate chat render preview outside desktop dialog * Rebuild agent tool permissions on source-of-truth model Edit the agent's own permission map verbatim (inherit vs explicit actions, pattern rules only for pattern-capable keys), save permission-only, drop the server-side non-wildcard re-merge that resurrected deleted rules, and surface session-granted rules as read-only. * Agents model parameters polish: row spacing, variant dropdown, unified widths, dash for unset numbers --------- Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com> Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
committed by
GitHub
co-authored by
Serhii Dziupin
Bohdan Triapitsyn
parent
1b402fcb67
commit
17f1b24709
@@ -47,6 +47,10 @@ export const settingsDict = {
|
||||
'settings.view.search.aria': 'Search settings',
|
||||
'settings.view.search.clear': 'Clear settings search',
|
||||
'settings.view.search.noResults': 'No matching settings',
|
||||
'settings.view.nav.group.general': 'OpenChamber',
|
||||
'settings.view.nav.group.projects': 'Workspace',
|
||||
'settings.view.nav.group.opencode': 'OpenCode',
|
||||
'settings.view.nav.group.content': 'Library',
|
||||
'settings.page.projects.title': 'Projects',
|
||||
'settings.page.remoteInstances.title': 'Remote Instances',
|
||||
'settings.page.providers.title': 'Providers',
|
||||
@@ -59,13 +63,22 @@ export const settingsDict = {
|
||||
'settings.page.skillsCatalog.title': 'Skills Catalog',
|
||||
'settings.page.git.title': 'Git',
|
||||
'settings.page.appearance.title': 'Appearance',
|
||||
'settings.page.appearance.description': 'Customize how OpenChamber looks and feels.',
|
||||
'settings.page.chat.title': 'Chat',
|
||||
'settings.page.chat.description': 'Configure how messages and tools are displayed.',
|
||||
'settings.page.shortcuts.title': 'Shortcuts',
|
||||
'settings.page.shortcuts.description': 'Customize keyboard shortcuts.',
|
||||
'settings.page.general.title': 'General',
|
||||
'settings.page.general.description': 'App startup, security, connection, and privacy.',
|
||||
'settings.page.sessions.title': 'Sessions',
|
||||
'settings.page.sessions.description': 'Set defaults and retention for sessions.',
|
||||
'settings.page.magicPrompts.title': 'Magic Prompts',
|
||||
'settings.page.notifications.title': 'Notifications',
|
||||
'settings.page.notifications.description': 'Choose when and how you get notified.',
|
||||
'settings.page.voice.title': 'Voice',
|
||||
'settings.page.tunnel.title': 'Remote Tunnel',
|
||||
'settings.page.voice.description': 'Configure speech and dictation.',
|
||||
'settings.page.tunnel.title': 'External Tunnel',
|
||||
'settings.page.tunnel.description': 'Expose this instance over a remote tunnel.',
|
||||
'settings.page.about.title': 'About',
|
||||
'settings.page.snippets.title': 'Snippets',
|
||||
'settings.snippets.sidebar.title': 'Snippets',
|
||||
@@ -123,7 +136,7 @@ export const settingsDict = {
|
||||
'settings.promptTemplates.page.toast.created': 'Template created',
|
||||
'settings.promptTemplates.page.toast.createFailed': 'Failed to create template',
|
||||
'settings.promptTemplates.page.toast.saveUnexpectedError': 'An unexpected error occurred while saving',
|
||||
'settings.openchamber.tunnel.title': 'Remote Tunnel',
|
||||
'settings.openchamber.tunnel.title': 'External Tunnel',
|
||||
'settings.openchamber.tunnel.description': 'Configure secure remote access with quick links or your own managed remote Cloudflare tunnel.',
|
||||
'settings.openchamber.tunnel.note.serverSideEnforced': 'Secure tunnel access is enforced server-side.',
|
||||
'settings.openchamber.tunnel.note.connectLinksOneTime': 'Connect links are one-time and are revoked when tunnel stops or connect-link TTL expires.',
|
||||
@@ -399,6 +412,7 @@ export const settingsDict = {
|
||||
'settings.remoteInstances.page.logsDialog.selectedInstanceFallback': 'Selected instance',
|
||||
'settings.remoteInstances.page.patternDialog.descriptionWithHost': '{host} requires a concrete destination.',
|
||||
'settings.remoteInstances.page.patternDialog.description': 'Enter destination.',
|
||||
'settings.common.infoAria': 'More information',
|
||||
'settings.common.actions.cancel': 'Cancel',
|
||||
'settings.common.actions.create': 'Create',
|
||||
'settings.common.actions.delete': 'Delete',
|
||||
@@ -409,6 +423,8 @@ export const settingsDict = {
|
||||
'settings.common.actions.copyAll': 'Copy all',
|
||||
'settings.common.actions.clear': 'Clear',
|
||||
'settings.common.actions.saving': 'Saving...',
|
||||
'settings.common.status.saved': 'Saved',
|
||||
'settings.common.status.saveFailed': 'Save failed',
|
||||
'settings.common.actions.saveChanges': 'Save Changes',
|
||||
'settings.common.scope.global': 'Global',
|
||||
'settings.common.scope.project': 'Project',
|
||||
@@ -493,6 +509,33 @@ export const settingsDict = {
|
||||
'settings.agents.page.section.identityRole': 'Identity & Role',
|
||||
'settings.agents.page.section.modelParameters': 'Model & Parameters',
|
||||
'settings.agents.page.section.systemPrompt': 'System Prompt',
|
||||
'settings.agents.page.permissionsEditor.sectionInfo': 'Edits this agent\'s own permission rules exactly as stored in its config. "Inherit" keeps a key unset so global config and defaults apply.',
|
||||
'settings.agents.page.permissionsEditor.defaultLabel': 'Default for all tools',
|
||||
'settings.agents.page.permissionsEditor.defaultAria': 'Default permission for all tools',
|
||||
'settings.agents.page.permissionsEditor.defaultInfo': 'The agent-level fallback (the * key). Applies to any tool without its own rule.',
|
||||
'settings.agents.page.permissionsEditor.effectiveHint': '→ {action}',
|
||||
'settings.agents.page.permissionsEditor.ruleCount': '{count} rules',
|
||||
'settings.agents.page.permissionsEditor.keyAria': 'Permission for {key}',
|
||||
'settings.agents.page.permissionsEditor.patternPlaceholder': 'Pattern, e.g. rm -rf * or /path/**',
|
||||
'settings.agents.page.permissionsEditor.patternActionAria': 'Action for {key} pattern',
|
||||
'settings.agents.page.permissionsEditor.customKeyPlaceholder': 'Custom permission key…',
|
||||
'settings.agents.page.permissionsEditor.sessionRulesTitle': 'Session-granted (not saved)',
|
||||
'settings.agents.page.permissionsEditor.sessionRulesInfo': 'Rules granted during live sessions (e.g. "always allow" answers). They apply right now but are not part of the saved config and disappear on restart.',
|
||||
'settings.agents.page.permissionsEditor.action.default': 'Default',
|
||||
'settings.agents.page.permissionsEditor.action.inherit': 'Inherit',
|
||||
'settings.agents.page.permissionsEditor.action.allow': 'Allow',
|
||||
'settings.agents.page.permissionsEditor.action.ask': 'Ask',
|
||||
'settings.agents.page.permissionsEditor.action.deny': 'Deny',
|
||||
'settings.agents.page.permissionsEditor.actions.save': 'Save permissions',
|
||||
'settings.agents.page.permissionsEditor.actions.discard': 'Discard',
|
||||
'settings.agents.page.permissionsEditor.actions.addRule': 'Add rule',
|
||||
'settings.agents.page.permissionsEditor.actions.addKey': 'Add key',
|
||||
'settings.agents.page.permissionsEditor.actions.removeRuleAria': 'Remove rule',
|
||||
'settings.agents.page.permissionsEditor.actions.retry': 'Retry',
|
||||
'settings.agents.page.permissionsEditor.state.loadFailed': 'Could not load the agent permission config.',
|
||||
'settings.agents.page.permissionsEditor.toast.saved': 'Permissions saved',
|
||||
'settings.agents.page.permissionsEditor.toast.savedRestartRequired': 'Permissions saved — restart the OpenCode server to apply',
|
||||
'settings.agents.page.permissionsEditor.toast.saveFailed': 'Failed to save permissions',
|
||||
'settings.agents.page.section.toolPermissions': 'Tool Permissions',
|
||||
'settings.agents.page.field.agentName': 'Agent Name',
|
||||
'settings.agents.page.field.agentNamePlaceholder': 'agent-name',
|
||||
@@ -528,6 +571,7 @@ export const settingsDict = {
|
||||
'settings.agents.page.permissions.permissionPlaceholder': 'Permission...',
|
||||
'settings.agents.page.permissions.patternPlaceholder': 'Pattern (e.g. *)',
|
||||
'settings.page.behavior.title': 'Behavior',
|
||||
'settings.page.behavior.description': 'Guide how the agent responds.',
|
||||
'settings.behavior.page.title': 'Behavior',
|
||||
'settings.behavior.page.warning.title': 'Global rules are combined with project rules',
|
||||
'settings.behavior.page.warning.description': 'Changes made here update {path}. OpenCode also includes any project-level AGENTS.md rules when they exist.',
|
||||
@@ -913,6 +957,8 @@ export const settingsDict = {
|
||||
'settings.openchamber.desktopNetwork.field.allowLanAccessDescription': 'Restarts the app so phones, tablets, and other computers on your Wi-Fi can open it.',
|
||||
'settings.openchamber.desktopNetwork.field.warning': 'Warning: while enabled, the app is reachable by anyone on the same local network.',
|
||||
'settings.openchamber.desktopNetwork.field.passwordRequiredWarning': 'LAN access requires a Desktop UI Password. Until one is set, the desktop app starts local-only.',
|
||||
'settings.openchamber.desktopPassword.actions.showPassword': 'Show password',
|
||||
'settings.openchamber.desktopPassword.actions.hidePassword': 'Hide password',
|
||||
'settings.openchamber.desktopPassword.field.password': 'Desktop UI Password',
|
||||
'settings.openchamber.desktopPassword.field.passwordPlaceholder': 'No password required',
|
||||
'settings.openchamber.desktopPassword.field.passwordDescription': 'OpenChamber asks after restart, then when the login session expires: after 12 hours, or 7 days with Trust this device. Leave empty to disable login.',
|
||||
@@ -1618,6 +1664,7 @@ export const settingsDict = {
|
||||
'settings.voice.page.section.playbackAndSummary': 'Playback',
|
||||
'settings.voice.page.field.provider': 'Provider',
|
||||
'settings.voice.page.provider.browser': 'Browser',
|
||||
'settings.voice.page.provider.openai': 'OpenAI',
|
||||
'settings.voice.page.provider.custom': 'Custom',
|
||||
'settings.voice.page.provider.say': 'Say',
|
||||
'settings.voice.page.provider.server': 'Server',
|
||||
@@ -1697,18 +1744,24 @@ export const settingsDict = {
|
||||
'settings.voice.page.field.ttsInputModeRaw': 'Raw Markdown',
|
||||
'settings.voice.page.field.ttsInputModeSummarized': 'summarized',
|
||||
'settings.openchamber.visual.section.colorMode': 'Color Mode',
|
||||
'settings.openchamber.visual.section.colorModeAndTheme': 'Color mode & Theme',
|
||||
'settings.openchamber.visual.section.mobileLayout': 'Mobile Layout',
|
||||
'settings.openchamber.visual.option.mobileLayout.default': 'Old',
|
||||
'settings.openchamber.visual.option.mobileLayout.new': 'New',
|
||||
'settings.openchamber.visual.section.localization': 'Localization',
|
||||
'settings.openchamber.visual.section.spacingAndLayout': 'Spacing & Layout',
|
||||
'settings.openchamber.visual.section.densityAndType': 'Density & type',
|
||||
'settings.openchamber.visual.section.appInstall': 'App install',
|
||||
'settings.openchamber.visual.section.navigation': 'Navigation',
|
||||
'settings.openchamber.visual.section.chatRenderMode': 'Chat Render Mode',
|
||||
'settings.openchamber.visual.section.chatRenderModeAria': 'Chat render mode',
|
||||
'settings.openchamber.visual.section.chatDisplay': 'Display',
|
||||
'settings.openchamber.visual.section.chatMessageOptions': 'Message options',
|
||||
'settings.openchamber.visual.section.chatFeatures': 'Features',
|
||||
'settings.openchamber.visual.section.messageStreamTransport': 'Message Stream Transport',
|
||||
'settings.openchamber.visual.section.activityDefault': 'Activity Default',
|
||||
'settings.openchamber.visual.section.activityDefaultAria': 'Activity default mode',
|
||||
'settings.openchamber.visual.section.showToolsOpenedByDefault': 'Show tools opened by default:',
|
||||
'settings.openchamber.visual.section.showToolsOpenedByDefault': 'Show tools opened by default',
|
||||
'settings.openchamber.visual.section.sessionAssistance': 'Session Assistance',
|
||||
'settings.openchamber.visual.section.reasoning': 'Reasoning',
|
||||
'settings.openchamber.visual.section.messageAppearance': 'Message Appearance',
|
||||
@@ -1839,8 +1892,11 @@ export const settingsDict = {
|
||||
'settings.openchamber.visual.field.sendAnonymousUsageReports': 'Send anonymous usage reports',
|
||||
'settings.openchamber.visual.field.sendAnonymousUsageReportsHint': 'Helps us understand which app versions are actively used so we can prioritize improvements. Only app version, platform, and runtime are collected - no personal data or code.',
|
||||
'settings.openchamber.visual.option.themeMode.system': 'System',
|
||||
'settings.openchamber.visual.option.themeMode.system.description': 'Follow system setting',
|
||||
'settings.openchamber.visual.option.themeMode.light': 'Light',
|
||||
'settings.openchamber.visual.option.themeMode.light.description': 'Always use light appearance',
|
||||
'settings.openchamber.visual.option.themeMode.dark': 'Dark',
|
||||
'settings.openchamber.visual.option.themeMode.dark.description': 'Always use dark appearance',
|
||||
'settings.openchamber.visual.option.diffLayout.dynamic.label': 'Dynamic',
|
||||
'settings.openchamber.visual.option.diffLayout.dynamic.description': 'New inline, modified side-by-side.',
|
||||
'settings.openchamber.visual.option.diffLayout.inline.label': 'Always inline',
|
||||
|
||||
Reference in New Issue
Block a user