The best way to control Claude Code, Codex and more from any computer or phone
[codex] Fix sidebar preview settings reset (#2587)
Co-authored-by: codex <codex@users.noreply.github.com>
Julius Marminge committed
May 7, 2026 at 17:24 UTC
31b52acc8d230f66034f8dc1163cf6b4502ba77e
2 files changed
+2
apps/web/src/components/settings/SettingsPanels.tsx
+1
@@ -424,6 +424,7 @@ export function useSettingsRestore(onRestored?: () => void) {
424
timestampFormat: DEFAULT_UNIFIED_SETTINGS.timestampFormat,
425
diffWordWrap: DEFAULT_UNIFIED_SETTINGS.diffWordWrap,
426
diffIgnoreWhitespace: DEFAULT_UNIFIED_SETTINGS.diffIgnoreWhitespace,
427
+ sidebarThreadPreviewCount: DEFAULT_UNIFIED_SETTINGS.sidebarThreadPreviewCount,
428
autoOpenPlanSidebar: DEFAULT_UNIFIED_SETTINGS.autoOpenPlanSidebar,
429
enableAssistantStreaming: DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming,
430
defaultThreadEnvMode: DEFAULT_UNIFIED_SETTINGS.defaultThreadEnvMode,
packages/contracts/src/settings.ts
+1
@@ -497,6 +497,7 @@ export const ClientSettingsPatch = Schema.Struct({
497
),
498
sidebarProjectSortOrder: Schema.optionalKey(SidebarProjectSortOrder),
499
sidebarThreadSortOrder: Schema.optionalKey(SidebarThreadSortOrder),
500
+ sidebarThreadPreviewCount: Schema.optionalKey(SidebarThreadPreviewCount),
501
timestampFormat: Schema.optionalKey(TimestampFormat),
502
});
503
export type ClientSettingsPatch = typeof ClientSettingsPatch.Type;