diff --git a/meshview/templates/node.html b/meshview/templates/node.html
index 0ce044d..8494227 100644
--- a/meshview/templates/node.html
+++ b/meshview/templates/node.html
@@ -157,7 +157,7 @@
-
+
All time
Last hour
@@ -502,6 +502,10 @@ function initPacketPortFilter() {
opt.textContent = `${PORT_LABEL_MAP[p]} (${p})`;
sel.appendChild(opt);
});
+ const requestedPort = new URLSearchParams(window.location.search).get("portnum");
+ if ([...sel.options].some(option => option.value === requestedPort)) {
+ sel.value = requestedPort;
+ }
}
@@ -1430,8 +1434,8 @@ document.addEventListener("DOMContentLoaded", async () => {
await drawNeighbors(fromNodeId, neighborIds);
}
- await reloadPackets();
initPacketPortFilter();
+ await reloadPackets();
await loadTelemetryCharts();
await loadNeighborTimeSeries();
await loadPacketHistogram();
diff --git a/meshview/templates/stats.html b/meshview/templates/stats.html
index c2f333c..93c61df 100644
--- a/meshview/templates/stats.html
+++ b/meshview/templates/stats.html
@@ -91,6 +91,16 @@
+
+
+
Refresh sample
+
Loading…
+
Expand Chart
+
Export CSV
+
+
Top 10 senders from the latest 500 text packets across all channels. Only packets on the sender’s recorded main channel count; unknown channels are excluded.
+
+