Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Remove decorative auto-update schedule controls from Settings
rcourtman862984aaf581
diff --git a/frontend-modern/src/components/Settings/UpdatesSettingsPanel.tsx b/frontend-modern/src/components/Settings/UpdatesSettingsPanel.tsxindex ee425ab705..e684aa3927 100644--- a/frontend-modern/src/components/Settings/UpdatesSettingsPanel.tsx+++ b/frontend-modern/src/components/Settings/UpdatesSettingsPanel.tsx@@ -1,6 +1,5 @@import { Component, Show, For, Accessor, Setter, createUniqueId } from 'solid-js';import SettingsPanel from '@/components/shared/SettingsPanel';-import { FormSelect } from '@/components/shared/FormSelect';import { HelpIcon } from '@/components/shared/HelpIcon';import { LoadingSpinner } from '@/components/shared/LoadingSpinner';import {@@ -37,10 +36,6 @@ export interface UpdatesSettingsPanelProps {setUpdateChannel: Setter<'stable' | 'rc'>;autoUpdateEnabled: Accessor<boolean>;setAutoUpdateEnabled: Setter<boolean>;- autoUpdateCheckInterval: Accessor<number>;- setAutoUpdateCheckInterval: Setter<number>;- autoUpdateTime: Accessor<string>;- setAutoUpdateTime: Setter<string>;checkForUpdates: () => Promise<void>;setHasUnsavedChanges: Setter<boolean>;// Update installation props@@ -329,44 +324,10 @@ export const UpdatesSettingsPanel: Component<UpdatesSettingsPanelProps> = (props</p></Show>- {/* Auto update options (shown when enabled) */}+ {/* Schedule note (shown when enabled). The host systemd timer owns+ the schedule; it is not configurable from here. */}<Show when={props.autoUpdateEnabled() && !isPreviewChannel()}>- <div class="mt-4 pt-4 border-t border-border grid grid-cols-1 sm:grid-cols-2 gap-4">- {/* Check Interval */}- <FormSelect- id="updates-auto-check-interval"- label={UPDATES_PANEL_COPY.checkIntervalLabel}- value={props.autoUpdateCheckInterval()}- onChange={(e) => {- props.setAutoUpdateCheckInterval(parseInt(e.currentTarget.value));- props.setHasUnsavedChanges(true);- }}- fieldClass="space-y-2"- labelClass="text-xs font-medium text-base-content"- selectBaseClass="w-full px-3 py-2 text-sm border border-border rounded-md bg-surface"- >- <option value="6">Every 6 hours</option>- <option value="12">Every 12 hours</option>- <option value="24">Daily</option>- <option value="168">Weekly</option>- </FormSelect>-- {/* Check Time */}- <div class="space-y-2">- <label class="text-xs font-medium text-base-content">- {UPDATES_PANEL_COPY.preferredTimeLabel}- </label>- <input- type="time"- value={props.autoUpdateTime()}- onChange={(e) => {- props.setAutoUpdateTime(e.currentTarget.value);- props.setHasUnsavedChanges(true);- }}- class="w-full px-3 py-2 text-sm border border-border rounded-md bg-surface"- />- </div>- </div>+ <p class="mt-3 text-xs text-muted">{UPDATES_PANEL_COPY.autoUpdateScheduleNote}</p></Show></div></div>diff --git a/frontend-modern/src/components/Settings/__tests__/SettingsSwitchLabels.test.tsx b/frontend-modern/src/components/Settings/__tests__/SettingsSwitchLabels.test.tsxindex 23c1a3b391..c7526e3394 100644--- a/frontend-modern/src/components/Settings/__tests__/SettingsSwitchLabels.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/SettingsSwitchLabels.test.tsx@@ -12,8 +12,6 @@ describe('settings switch labels', () => {it('associates the auto-update switch with its visible label', () => {const [updateChannel, setUpdateChannel] = createSignal<'stable' | 'rc'>('stable');const [autoUpdateEnabled, setAutoUpdateEnabled] = createSignal(false);- const [autoUpdateCheckInterval, setAutoUpdateCheckInterval] = createSignal(24);- const [autoUpdateTime, setAutoUpdateTime] = createSignal('03:00');render(() => (<UpdatesSettingsPanel@@ -24,10 +22,6 @@ describe('settings switch labels', () => {setUpdateChannel={setUpdateChannel}autoUpdateEnabled={autoUpdateEnabled}setAutoUpdateEnabled={setAutoUpdateEnabled}- autoUpdateCheckInterval={autoUpdateCheckInterval}- setAutoUpdateCheckInterval={setAutoUpdateCheckInterval}- autoUpdateTime={autoUpdateTime}- setAutoUpdateTime={setAutoUpdateTime}checkForUpdates={vi.fn().mockResolvedValue(undefined)}setHasUnsavedChanges={vi.fn()}updatePlan={() => null}diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex cf7f943d53..caf0659538 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -1049,7 +1049,6 @@ describe('settings architecture guardrails', () => {auditLogPanelSource,recoverySettingsPanelSource,systemLogsPanelSource,- updatesSettingsPanelSource,agentProfilesPanelSource,infrastructureInstallerSectionSource,nodeModalMonitoringSectionSource,diff --git a/frontend-modern/src/components/Settings/__tests__/useSystemSettingsState.test.ts b/frontend-modern/src/components/Settings/__tests__/useSystemSettingsState.test.tsindex 8c565a7d5c..9f774f9a1d 100644--- a/frontend-modern/src/components/Settings/__tests__/useSystemSettingsState.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/useSystemSettingsState.test.ts@@ -336,28 +336,10 @@ describe('useSystemSettingsState', () => {}});- it('preserves explicit zero auto-update interval values from system settings', async () => {- getSystemSettingsMock.mockResolvedValue({- autoUpdateEnabled: true,- autoUpdateCheckInterval: 0,- autoUpdateTime: '04:00',- });-- const { hookState, dispose } = mountHook();-- await hookState.initializeSystemSettingsState();- await flushAsync();-- expect(hookState.autoUpdateCheckInterval()).toBe(0);- dispose();- });-it('normalizes persisted RC auto-updates off during initialization', async () => {getSystemSettingsMock.mockResolvedValue({updateChannel: 'rc',autoUpdateEnabled: true,- autoUpdateCheckInterval: 24,- autoUpdateTime: '04:00',});const { hookState, dispose } = mountHook();diff --git a/frontend-modern/src/components/Settings/useSettingsSystemPanels.tsx b/frontend-modern/src/components/Settings/useSettingsSystemPanels.tsxindex c55cd150f2..2358789c94 100644--- a/frontend-modern/src/components/Settings/useSettingsSystemPanels.tsx+++ b/frontend-modern/src/components/Settings/useSettingsSystemPanels.tsx@@ -96,10 +96,6 @@ export function useSettingsSystemPanels(setUpdateChannel: params.systemSettings.setUpdateChannel,autoUpdateEnabled: params.systemSettings.autoUpdateEnabled,setAutoUpdateEnabled: params.systemSettings.setAutoUpdateEnabled,- autoUpdateCheckInterval: params.systemSettings.autoUpdateCheckInterval,- setAutoUpdateCheckInterval: params.systemSettings.setAutoUpdateCheckInterval,- autoUpdateTime: params.systemSettings.autoUpdateTime,- setAutoUpdateTime: params.systemSettings.setAutoUpdateTime,checkForUpdates: params.systemSettings.checkForUpdates,setHasUnsavedChanges: params.systemSettings.setHasUnsavedChanges,updatePlan: params.systemSettings.updatePlan,diff --git a/frontend-modern/src/components/Settings/useSystemSettingsState.ts b/frontend-modern/src/components/Settings/useSystemSettingsState.tsindex 2c3a188306..8c4c8dd2d5 100644--- a/frontend-modern/src/components/Settings/useSystemSettingsState.ts+++ b/frontend-modern/src/components/Settings/useSystemSettingsState.ts@@ -69,8 +69,6 @@ export function useSystemSettingsState({const [checkingForUpdates, setCheckingForUpdates] = createSignal(false);const [updateChannel, setUpdateChannel] = createSignal<'stable' | 'rc'>('stable');const [autoUpdateEnabled, setAutoUpdateEnabled] = createSignal(false);- const [autoUpdateCheckInterval, setAutoUpdateCheckInterval] = createSignal(24);- const [autoUpdateTime, setAutoUpdateTime] = createSignal('03:00');const [updatePlan, setUpdatePlan] = createSignal<UpdatePlan | null>(null);const [isInstallingUpdate, setIsInstallingUpdate] = createSignal(false);const [showUpdateConfirmation, setShowUpdateConfirmation] = createSignal(false);@@ -167,8 +165,6 @@ export function useSystemSettingsState({setAutoUpdateEnabled(normalizeAutoUpdateEnabled(savedUpdateChannel, systemSettings.autoUpdateEnabled || false),);- setAutoUpdateCheckInterval(systemSettings.autoUpdateCheckInterval ?? 24);- setAutoUpdateTime(systemSettings.autoUpdateTime || '03:00');if (systemSettings.envOverrides) {setEnvOverrides(systemSettings.envOverrides);@@ -219,8 +215,6 @@ export function useSystemSettingsState({allowedOrigins: allowedOrigins(),updateChannel: updateChannel(),autoUpdateEnabled: normalizeAutoUpdateEnabled(updateChannel(), autoUpdateEnabled()),- autoUpdateCheckInterval: autoUpdateCheckInterval(),- autoUpdateTime: autoUpdateTime(),backupPollingEnabled: backupPollingEnabled(),backupPollingInterval: backupPollingInterval(),allowEmbedding: allowEmbedding(),@@ -526,10 +520,6 @@ export function useSystemSettingsState({setUpdateChannel,autoUpdateEnabled,setAutoUpdateEnabled,- autoUpdateCheckInterval,- setAutoUpdateCheckInterval,- autoUpdateTime,- setAutoUpdateTime,updatePlan,isInstallingUpdate,showUpdateConfirmation,diff --git a/frontend-modern/src/utils/__tests__/updatesPresentation.test.ts b/frontend-modern/src/utils/__tests__/updatesPresentation.test.tsindex 6bcff2f8ae..e89dc887c1 100644--- a/frontend-modern/src/utils/__tests__/updatesPresentation.test.ts+++ b/frontend-modern/src/utils/__tests__/updatesPresentation.test.ts@@ -34,8 +34,8 @@ describe('updatesPresentation', () => {'Use this on staging or internal validation environments. Automatic stable updates stay disabled on pre-release builds so preview installs do not drift between channels unattended.',previewChannelAutoUpdateNotice:'Automatic stable updates are unavailable while the pre-release preview channel is selected.',- checkIntervalLabel: 'Check Interval',- preferredTimeLabel: 'Preferred Time',+ autoUpdateScheduleNote:+ 'The host checks for stable releases once a day overnight and applies them automatically.',});});diff --git a/frontend-modern/src/utils/updatesPresentation.ts b/frontend-modern/src/utils/updatesPresentation.tsindex d91668ce2d..df431e2a51 100644--- a/frontend-modern/src/utils/updatesPresentation.ts+++ b/frontend-modern/src/utils/updatesPresentation.ts@@ -21,8 +21,10 @@ export const UPDATES_PANEL_COPY = {'Use this on staging or internal validation environments. Automatic stable updates stay disabled on pre-release builds so preview installs do not drift between channels unattended.',previewChannelAutoUpdateNotice:'Automatic stable updates are unavailable while the pre-release preview channel is selected.',- checkIntervalLabel: 'Check Interval',- preferredTimeLabel: 'Preferred Time',+ // The host systemd timer owns the schedule (daily overnight window with a+ // randomized delay, see install.sh); it is not configurable from the UI.+ autoUpdateScheduleNote:+ 'The host checks for stable releases once a day overnight and applies them automatically.',} as const;export function getUpdateBuildBadges(