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
Frontend consistency sweep Tier 6: hidden-CSS drawer tabs in NodeDrawer + DockerHostDrawer
rcourtmana55ab68276fd
diff --git a/frontend-modern/src/components/Workloads/NodeDrawer.tsx b/frontend-modern/src/components/Workloads/NodeDrawer.tsxindex 6432e0cd27..3c8b322bec 100644--- a/frontend-modern/src/components/Workloads/NodeDrawer.tsx+++ b/frontend-modern/src/components/Workloads/NodeDrawer.tsx@@ -71,21 +71,26 @@ export const NodeDrawer: Component<NodeDrawerProps> = (props) => {}/>- <Show when={activeTab() === 'overview'}>+ {/* Use CSS hidden instead of Show to avoid mount/unmount which causes scroll jumps.+ overflow-anchor: none prevents browser scroll anchoring from jumping when display toggles. */}+ <div class={activeTab() === 'overview' ? '' : 'hidden'} style={{ 'overflow-anchor': 'none' }}><NodeDrawerOverview node={props.node} disks={props.disks} />- </Show>+ </div>- <Show when={activeTab() === 'history'}>+ <div class={activeTab() === 'history' ? '' : 'hidden'} style={{ 'overflow-anchor': 'none' }}><GuestDrawerHistoryfallbackMetrics={fallbackMetrics()}groups={NODE_DRAWER_HISTORY_GROUPS}range={historyRange()}target={historyTarget()}/>- </Show>+ </div>- <Show when={activeTab() === 'discovery' && props.discoveryTarget?.agentId}>- {(agentId) => (+ {props.discoveryTarget?.agentId && (+ <div+ class={activeTab() === 'discovery' ? '' : 'hidden'}+ style={{ 'overflow-anchor': 'none' }}+ ><Suspensefallback={<div class="flex items-center justify-center py-8">@@ -96,14 +101,14 @@ export const NodeDrawer: Component<NodeDrawerProps> = (props) => {><DiscoveryTabresourceType="agent"- agentId={agentId()}- resourceId={agentId()}+ agentId={props.discoveryTarget.agentId}+ resourceId={props.discoveryTarget.agentId}hostname={props.discoveryTarget?.hostname || displayName()}showManualRunAction/></Suspense>- )}- </Show>+ </div>+ )}</section>);};diff --git a/frontend-modern/src/features/docker/DockerHostDrawer.tsx b/frontend-modern/src/features/docker/DockerHostDrawer.tsxindex 9163c0fcdd..8b9a1c2b66 100644--- a/frontend-modern/src/features/docker/DockerHostDrawer.tsx+++ b/frontend-modern/src/features/docker/DockerHostDrawer.tsx@@ -70,37 +70,44 @@ export const DockerHostDrawer: Component<DockerHostDrawerProps> = (props) => {}/>- <Show when={activeTab() === 'overview'}>+ {/* Use CSS hidden instead of Show to avoid mount/unmount which causes scroll jumps.+ overflow-anchor: none prevents browser scroll anchoring from jumping when display toggles. */}+ <div class={activeTab() === 'overview' ? '' : 'hidden'} style={{ 'overflow-anchor': 'none' }}><DockerHostDrawerOverview host={props.host} />- </Show>+ </div>- <Show when={activeTab() === 'history'}>+ <div class={activeTab() === 'history' ? '' : 'hidden'} style={{ 'overflow-anchor': 'none' }}><GuestDrawerHistoryfallbackMetrics={fallbackMetrics()}groups={DOCKER_HOST_DRAWER_HISTORY_GROUPS}range={historyRange()}target={historyTarget()}/>- </Show>+ </div>- <Show when={activeTab() === 'discovery' && discoveryConfig()}>+ <Show when={discoveryConfig()}>{(config) => (- <Suspense- fallback={- <div class="flex items-center justify-center py-8">- <div class="animate-spin h-6 w-6 border-2 border-blue-500 border-t-transparent rounded-full" />- <span class="ml-2 text-sm text-muted">{getDiscoveryLoadingState().text}</span>- </div>- }+ <div+ class={activeTab() === 'discovery' ? '' : 'hidden'}+ style={{ 'overflow-anchor': 'none' }}>- <DiscoveryTab- resourceType={config().resourceType}- agentId={config().agentId}- resourceId={config().resourceId}- hostname={config().hostname}- showManualRunAction- />- </Suspense>+ <Suspense+ fallback={+ <div class="flex items-center justify-center py-8">+ <div class="animate-spin h-6 w-6 border-2 border-blue-500 border-t-transparent rounded-full" />+ <span class="ml-2 text-sm text-muted">{getDiscoveryLoadingState().text}</span>+ </div>+ }+ >+ <DiscoveryTab+ resourceType={config().resourceType}+ agentId={config().agentId}+ resourceId={config().resourceId}+ hostname={config().hostname}+ showManualRunAction+ />+ </Suspense>+ </div>)}</Show></section>