diff --git a/packages/app/src/components/settings-general.tsx b/packages/app/src/components/settings-general.tsx index 42ee4092f68..c50386fee8c 100644 --- a/packages/app/src/components/settings-general.tsx +++ b/packages/app/src/components/settings-general.tsx @@ -9,7 +9,7 @@ import { useTheme, type ColorScheme } from "@opencode-ai/ui/theme" import { showToast } from "@opencode-ai/ui/toast" import { useLanguage } from "@/context/language" import { usePlatform } from "@/context/platform" -import { useSettings, monoFontFamily } from "@/context/settings" +import { useSettings, monoFontFamily, type SidebarStyle } from "@/context/settings" import { playSound, SOUND_OPTIONS } from "@/utils/sound" import { Link } from "./link" @@ -137,6 +137,11 @@ export const SettingsGeneral: Component = () => { ] as const const fontOptionsList = [...fontOptions] + const sidebarStyleOptions = [ + { value: "classic" as SidebarStyle, label: "sidebar.style.classic" as const }, + { value: "list" as SidebarStyle, label: "sidebar.style.list" as const }, + ] + const noneSound = { id: "none", label: "sound.option.none", src: undefined } as const const soundOptions = [noneSound, ...SOUND_OPTIONS] @@ -267,6 +272,23 @@ export const SettingsGeneral: Component = () => { )} + + +