From 939565ce5ac95644ebb7c69b6925c70428358855 Mon Sep 17 00:00:00 2001 From: Jaime Idolpx Date: Tue, 14 Apr 2026 13:55:14 -0400 Subject: [PATCH] feat: update StatusPage layout and functionality with enhanced system status display and activity log --- .gitignore | 1 + src/app/components/StatusPage.tsx | 214 +++++++++++++++--------------- 2 files changed, 109 insertions(+), 106 deletions(-) diff --git a/.gitignore b/.gitignore index 2c62df0..9fccacb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ ?archives/* +dist/* node_modules/* diff --git a/src/app/components/StatusPage.tsx b/src/app/components/StatusPage.tsx index db4027a..be010e4 100644 --- a/src/app/components/StatusPage.tsx +++ b/src/app/components/StatusPage.tsx @@ -65,78 +65,6 @@ export default function StatusPage({ config, setConfig }: StatusPageProps) { return (
-

System Status

- -
- {/* System Status Action Buttons at bottom */} -
-
Memory Utilization
-
- {/* Heap Graph */} -
-
- Heap - {memory.heap.free} KB free / {memory.heap.total} KB -
-
-
-
-
- {/* PSRAM Graph */} -
-
- PSRAM - {memory.psram.free} KB free / {memory.psram.total} KB -
-
-
-
-
-
-
- - -
-
-
WiFi
-
- - Connected -
-
IP Address
-
192.168.1.100
-
MAC Address
-
AA:BB:CC:DD:EE:FF
-
-
-
Uptime
-
- - 3h 24m -
-
-
-
- - -
-
{activeDevice && ( <> @@ -352,40 +280,6 @@ export default function StatusPage({ config, setConfig }: StatusPageProps) { - -

- - Activity Log -

- -
- {activityLog.map((entry, index) => ( -
-
-
- {entry.time} -
-
-
-
- {entry.event} -
-
-
-
- ))} -
)} @@ -400,6 +294,114 @@ export default function StatusPage({ config, setConfig }: StatusPageProps) {
)} + +

+ + Activity Log +

+ +
+ {activityLog.map((entry, index) => ( +
+
+
+ {entry.time} +
+
+
+
+ {entry.event} +
+
+
+
+ ))} +
+ +

System Status

+ +
+ {/* System Status Action Buttons at bottom */} +
+
Memory Utilization
+
+ {/* Heap Graph */} +
+
+ Heap + {memory.heap.free} KB free / {memory.heap.total} KB +
+
+
+
+
+ {/* PSRAM Graph */} +
+
+ PSRAM + {memory.psram.free} KB free / {memory.psram.total} KB +
+
+
+
+
+
+
+ + +
+
+
WiFi
+
+ + Connected +
+
IP Address
+
192.168.1.100
+
MAC Address
+
AA:BB:CC:DD:EE:FF
+
+
+
Uptime
+
+ + 3h 24m +
+
+
+
+ + +
+
+
); }