Skip to content

Commit 061c28b

Browse files
authored
Merge branch 'main' into feat/provider-usage-indicator
2 parents 94c8eb6 + 31b52ac commit 061c28b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

apps/web/src/components/settings/SettingsPanels.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ export function useSettingsRestore(onRestored?: () => void) {
434434
timestampFormat: DEFAULT_UNIFIED_SETTINGS.timestampFormat,
435435
diffWordWrap: DEFAULT_UNIFIED_SETTINGS.diffWordWrap,
436436
diffIgnoreWhitespace: DEFAULT_UNIFIED_SETTINGS.diffIgnoreWhitespace,
437+
sidebarThreadPreviewCount: DEFAULT_UNIFIED_SETTINGS.sidebarThreadPreviewCount,
437438
autoOpenPlanSidebar: DEFAULT_UNIFIED_SETTINGS.autoOpenPlanSidebar,
438439
enableAssistantStreaming: DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming,
439440
defaultThreadEnvMode: DEFAULT_UNIFIED_SETTINGS.defaultThreadEnvMode,

packages/contracts/src/settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ export const ClientSettingsPatch = Schema.Struct({
515515
),
516516
sidebarProjectSortOrder: Schema.optionalKey(SidebarProjectSortOrder),
517517
sidebarThreadSortOrder: Schema.optionalKey(SidebarThreadSortOrder),
518+
sidebarThreadPreviewCount: Schema.optionalKey(SidebarThreadPreviewCount),
518519
timestampFormat: Schema.optionalKey(TimestampFormat),
519520
});
520521
export type ClientSettingsPatch = typeof ClientSettingsPatch.Type;

0 commit comments

Comments
 (0)