From 54e065f9686229af59d2ab7f51805994c961001e Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Sun, 25 Jan 2026 17:53:54 -0500 Subject: [PATCH] feat: reimplment live telemetry loading animation with progress bar and animated graph icon --- .../Proxmox/views/statistics.blade.php | 57 +++++++++++++++++-- 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/extensions/Servers/Proxmox/views/statistics.blade.php b/extensions/Servers/Proxmox/views/statistics.blade.php index 2eadca325..9af33c53b 100644 --- a/extensions/Servers/Proxmox/views/statistics.blade.php +++ b/extensions/Servers/Proxmox/views/statistics.blade.php @@ -100,10 +100,10 @@
@@ -188,9 +188,45 @@
+ +
+
+ +
+ + + + + + + + + +
+ +
+

Loading Telemetry

+

Fetching performance data...

+
+ +
+
+
+
+
+
@@ -5106,6 +5142,13 @@ } } + // Dispatch progress event when individual chart loads + function dispatchChartLoaded(chartType) { + try { + window.dispatchEvent(new CustomEvent('proxmox-chart-loaded', { detail: { chart: chartType } })); + } catch (e) {} + } + function dispatchStatsWithRetry() { // Reset retry counters chartRetryAttempts = { cpu: 0, memory: 0, network: 0, disk: 0 }; @@ -5272,6 +5315,7 @@ // Mark that this chart has successfully received data cpuChartHasData = true; + dispatchChartLoaded('cpu'); checkAllChartsLoaded(); } catch (e) { console.error('Error updating CPU chart:', e, eventData); @@ -5305,6 +5349,7 @@ // Mark that this chart has successfully received data memoryChartHasData = true; + dispatchChartLoaded('memory'); checkAllChartsLoaded(); } catch (e) { console.error('Error updating Memory chart:', e, eventData); @@ -5366,6 +5411,7 @@ // Mark that this chart has successfully received data networkChartHasData = true; + dispatchChartLoaded('network'); checkAllChartsLoaded(); } catch (e) { console.error('Error updating Network chart:', e, eventData); @@ -5407,6 +5453,7 @@ // Mark that this chart has successfully received data diskChartHasData = true; + dispatchChartLoaded('disk'); checkAllChartsLoaded(); } catch (e) { console.error('Error updating Disk chart:', e, eventData);