authorgravatar for 71498452+StiensWout@users.noreply.github.comWout Stiens <71498452+StiensWout@users.noreply.github.com> 2026-07-17 23:25:21+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-07-17 23:25:21+02:00
log73bf127d71fbe7fa226cdf021a8a14cf272b2d8e
treedbb6e98721ce14076d2f6cc62848d53480823ee7
parent43e2aeab389199de115bb414f80db12b60cd85f4
signature Signed by PGP key B5690EEEBB952194

[codex] Fix provider update checks restore defaults (#3531)

Co-authored-by: Codex <codex@openai.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>

1 files changed, 6 insertions(+), 0 deletions(-)

apps/web/src/components/settings/SettingsPanels.tsx+6
...@@ -405,6 +405,10 @@ export function useSettingsRestore(onRestored?: () => void) {...@@ -405,6 +405,10 @@ export function useSettingsRestore(onRestored?: () => void) {
405 ...(settings.enableAssistantStreaming !== DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming405 ...(settings.enableAssistantStreaming !== DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming
406 ? ["Assistant output"]406 ? ["Assistant output"]
407 : []),407 : []),
408 ...(settings.enableProviderUpdateChecks !==
409 DEFAULT_UNIFIED_SETTINGS.enableProviderUpdateChecks
410 ? ["Provider update checks"]
411 : []),
408 ...(Duration.toMillis(settings.automaticGitFetchInterval) !==412 ...(Duration.toMillis(settings.automaticGitFetchInterval) !==
409 Duration.toMillis(DEFAULT_UNIFIED_SETTINGS.automaticGitFetchInterval)413 Duration.toMillis(DEFAULT_UNIFIED_SETTINGS.automaticGitFetchInterval)
410 ? ["Automatic Git fetch interval"]414 ? ["Automatic Git fetch interval"]
...@@ -438,6 +442,7 @@ export function useSettingsRestore(onRestored?: () => void) {...@@ -438,6 +442,7 @@ export function useSettingsRestore(onRestored?: () => void) {
438 settings.diffIgnoreWhitespace,442 settings.diffIgnoreWhitespace,
439 settings.automaticGitFetchInterval,443 settings.automaticGitFetchInterval,
440 settings.enableAssistantStreaming,444 settings.enableAssistantStreaming,
445 settings.enableProviderUpdateChecks,
441 settings.sidebarThreadPreviewCount,446 settings.sidebarThreadPreviewCount,
442 settings.timestampFormat,447 settings.timestampFormat,
443 settings.wordWrap,448 settings.wordWrap,
...@@ -463,6 +468,7 @@ export function useSettingsRestore(onRestored?: () => void) {...@@ -463,6 +468,7 @@ export function useSettingsRestore(onRestored?: () => void) {
463 sidebarThreadPreviewCount: DEFAULT_UNIFIED_SETTINGS.sidebarThreadPreviewCount,468 sidebarThreadPreviewCount: DEFAULT_UNIFIED_SETTINGS.sidebarThreadPreviewCount,
464 autoOpenPlanSidebar: DEFAULT_UNIFIED_SETTINGS.autoOpenPlanSidebar,469 autoOpenPlanSidebar: DEFAULT_UNIFIED_SETTINGS.autoOpenPlanSidebar,
465 enableAssistantStreaming: DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming,470 enableAssistantStreaming: DEFAULT_UNIFIED_SETTINGS.enableAssistantStreaming,
471 enableProviderUpdateChecks: DEFAULT_UNIFIED_SETTINGS.enableProviderUpdateChecks,
466 automaticGitFetchInterval: DEFAULT_UNIFIED_SETTINGS.automaticGitFetchInterval,472 automaticGitFetchInterval: DEFAULT_UNIFIED_SETTINGS.automaticGitFetchInterval,
467 defaultThreadEnvMode: DEFAULT_UNIFIED_SETTINGS.defaultThreadEnvMode,473 defaultThreadEnvMode: DEFAULT_UNIFIED_SETTINGS.defaultThreadEnvMode,
468 newWorktreesStartFromOrigin: DEFAULT_UNIFIED_SETTINGS.newWorktreesStartFromOrigin,474 newWorktreesStartFromOrigin: DEFAULT_UNIFIED_SETTINGS.newWorktreesStartFromOrigin,