diff --git a/packages/ui/src/components/sections/openchamber/OpenChamberPage.tsx b/packages/ui/src/components/sections/openchamber/OpenChamberPage.tsx index c539bc34..0a5f394f 100644 --- a/packages/ui/src/components/sections/openchamber/OpenChamberPage.tsx +++ b/packages/ui/src/components/sections/openchamber/OpenChamberPage.tsx @@ -103,7 +103,7 @@ const ShortcutsSectionContent: React.FC = () => { // Visual section: Theme Mode, Font Size, Spacing, Corner Radius, Input Bar Offset (mobile), Nav Rail const VisualSectionContent: React.FC = () => { const isVSCode = isVSCodeRuntime(); - const visibleSettings: Array<'theme' | 'pwaInstallName' | 'fontSize' | 'terminalFontSize' | 'spacing' | 'cornerRadius' | 'inputBarOffset' | 'terminalQuickKeys' | 'navRail' | 'mermaidRendering' | 'userMessageRendering' | 'stickyUserHeader'> = [ + return { 'spacing', 'cornerRadius', 'inputBarOffset', - 'terminalQuickKeys', - 'navRail', - ]; - - if (isVSCode) { - visibleSettings.push('mermaidRendering', 'userMessageRendering', 'stickyUserHeader'); - } - - return ; + ...(!isVSCode ? ['terminalQuickKeys' as const, 'navRail' as const] : []), + ]} />; }; // Chat section: Default Tool Output, User message rendering, Diff layout, Mobile status bar, Show reasoning traces, Queue mode, Persist draft diff --git a/packages/ui/src/components/sections/openchamber/OpenChamberVisualSettings.tsx b/packages/ui/src/components/sections/openchamber/OpenChamberVisualSettings.tsx index 038ec89e..1515730a 100644 --- a/packages/ui/src/components/sections/openchamber/OpenChamberVisualSettings.tsx +++ b/packages/ui/src/components/sections/openchamber/OpenChamberVisualSettings.tsx @@ -418,7 +418,7 @@ export const OpenChamberVisualSettings: React.FC
Install App Name - Used by Chrome install prompt before install. + Used by PWA installation process.
!ctx.isVSCode, }, { slug: 'sessions',