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
const HOVER_CAPABLE_POINTER_QUERY = '(hover: hover) and (pointer: fine)';
/**
* Floating hover UI is only appropriate when the device's primary pointer can
* hover precisely. Touch browsers may synthesize mouseenter before click, so
* viewport width alone cannot safely distinguish intent.
*/
export function supportsHoverTooltips(): boolean {
if (typeof window === 'undefined' || typeof window.matchMedia !== 'function') {
return true;
}
return window.matchMedia(HOVER_CAPABLE_POINTER_QUERY)?.matches ?? true;
}