[codex] Fix sidebar preview settings reset (#2587)
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
466d8ee5b0
commit
31b52acc8d
2 files changed
+2
No files matched your search
@@ -424,6 +424,7 @@ export function useSettingsRestore(onRestored?: () => void) {
|
||||
timestampFormat: DEFAULT_UNIFIED_SETTINGS.timestampFormat,
|
||||
diffWordWrap: DEFAULT_UNIFIED_SETTINGS.diffWordWrap,
|
||||
diffIgnoreWhitespace: DEFAULT_UNIFIED_SETTINGS.diffIgnoreWhitespace,
|
||||
sidebarThreadPreviewCount: DEFAULT_UNIFIED_SETTINGS.sidebarThreadPreviewCount,
|
||||
autoOpenPlanSidebar: DEFAULT_UNIFIED_SETTINGS.autoOpenPlanSidebar,
|
||||
enableAssistantStreaming: DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming,
|
||||
defaultThreadEnvMode: DEFAULT_UNIFIED_SETTINGS.defaultThreadEnvMode,
|
||||
|
||||
@@ -497,6 +497,7 @@ export const ClientSettingsPatch = Schema.Struct({
|
||||
),
|
||||
sidebarProjectSortOrder: Schema.optionalKey(SidebarProjectSortOrder),
|
||||
sidebarThreadSortOrder: Schema.optionalKey(SidebarThreadSortOrder),
|
||||
sidebarThreadPreviewCount: Schema.optionalKey(SidebarThreadPreviewCount),
|
||||
timestampFormat: Schema.optionalKey(TimestampFormat),
|
||||
});
|
||||
export type ClientSettingsPatch = typeof ClientSettingsPatch.Type;
|
||||
Reference in new issue
Block a user