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
feat(ui): add 'Checking updates...' indicator for Docker hosts
rcourtmanb17891fd027e
diff --git a/frontend-modern/src/components/Docker/DockerFilter.tsx b/frontend-modern/src/components/Docker/DockerFilter.tsxindex edca0186f1..a8db0707ba 100644--- a/frontend-modern/src/components/Docker/DockerFilter.tsx+++ b/frontend-modern/src/components/Docker/DockerFilter.tsx@@ -20,6 +20,7 @@ interface DockerFilterProps {onUpdateAll?: () => void;onCheckUpdates?: (hostId: string) => void;activeHostId?: string | null;+ checkingUpdatesStatus?: string; // 'queued' | 'dispatched' | 'acknowledged' | 'in_progress' | undefined}const UpdateAllButton: Component<{ count: number; onUpdate: () => void }> = (props) => {@@ -502,9 +503,19 @@ export const DockerFilter: Component<DockerFilterProps> = (props) => {<Show when={props.onCheckUpdates && props.activeHostId}><div class="h-5 w-px bg-gray-200 dark:bg-gray-600 hidden sm:block" aria-hidden="true"></div>- <RefreshButton- onRefresh={() => props.onCheckUpdates!(props.activeHostId!)}- />+ <Show when={props.checkingUpdatesStatus && ['queued', 'dispatched', 'acknowledged', 'in_progress'].includes(props.checkingUpdatesStatus)}>+ <div class="flex items-center gap-1.5 px-3 py-1 text-xs font-medium rounded-lg bg-amber-50 text-amber-700 dark:bg-amber-900/40 dark:text-amber-300">+ <svg class="h-3.5 w-3.5 animate-spin" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />+ </svg>+ <span>Checking updates...</span>+ </div>+ </Show>+ <Show when={!props.checkingUpdatesStatus || !['queued', 'dispatched', 'acknowledged', 'in_progress'].includes(props.checkingUpdatesStatus)}>+ <RefreshButton+ onRefresh={() => props.onCheckUpdates!(props.activeHostId!)}+ />+ </Show></Show><Show when={hasActiveFilters()}>diff --git a/frontend-modern/src/components/Docker/DockerHosts.tsx b/frontend-modern/src/components/Docker/DockerHosts.tsxindex e94009b694..54754d6155 100644--- a/frontend-modern/src/components/Docker/DockerHosts.tsx+++ b/frontend-modern/src/components/Docker/DockerHosts.tsx@@ -441,6 +441,20 @@ export const DockerHosts: Component<DockerHostsProps> = (props) => {}};+ // Get the command status for the selected host to show checking indicator+ const selectedHostCommandStatus = createMemo(() => {+ const hostId = selectedHostId();+ if (!hostId) return undefined;++ const host = props.hosts.find(h => h.id === hostId);+ if (!host?.command) return undefined;++ // Only show status for check_updates commands+ if (host.command.type !== 'check_updates') return undefined;++ return host.command.status;+ });+const renderFilter = () => (<DockerFiltersearch={search}@@ -459,6 +473,7 @@ export const DockerHosts: Component<DockerHostsProps> = (props) => {onUpdateAll={handleUpdateAll}onCheckUpdates={handleCheckUpdates}activeHostId={selectedHostId()}+ checkingUpdatesStatus={selectedHostCommandStatus()}/>);