From 86bf8dcb5c1c674d83530e7bfa95337bfacbdb3f Mon Sep 17 00:00:00 2001 From: "Valentin V. Bartenev" Date: Sat, 9 May 2026 23:56:48 +0300 Subject: [PATCH] Web: reorder Radio HUD air-time metrics (RX first, TX Share last) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reorder the four air-time metrics in the Radio card: Before: TX Air | RX Air TX Share | Total Air After: RX Air | TX Air Total Air | TX Share Move RX Air to the primary (top-left) position — a repeater receives before it retransmits, so RX is the primary signal. Move TX Share after Total Air so the derived percentage follows the raw counters it summarises. --- src/helpers/web/WebPanelServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/web/WebPanelServer.cpp b/src/helpers/web/WebPanelServer.cpp index 0c26568b..3e55f2c2 100644 --- a/src/helpers/web/WebPanelServer.cpp +++ b/src/helpers/web/WebPanelServer.cpp @@ -1540,10 +1540,10 @@ const char kWebPanelAppHtml[] PROGMEM = R"HTML( ${renderMeter("SNR", Number.isFinite(radio.last_snr) ? radio.last_snr.toFixed(1) + " dB" : "--", snrPct, "link quality", snrTone)} ${renderMeter("Noise Floor", (radio.noise_floor ?? "--") + " dBm", noisePct, "ambient RF", noiseTone)}
- ${renderMetric("TX Air", String(radio.tx_air_secs ?? 0) + " s")} ${renderMetric("RX Air", String(radio.rx_air_secs ?? 0) + " s")} - ${renderMetric("TX Share", Math.round(txShare) + "%")} + ${renderMetric("TX Air", String(radio.tx_air_secs ?? 0) + " s")} ${renderMetric("Total Air", String(totalAir) + " s")} + ${renderMetric("TX Share", Math.round(txShare) + "%")}
`; }