[feat](trx-frontend-http): replace signal graph with measurement mode

Replace the rolling canvas signal graph with a practical signal
measurement feature. The operator can start/stop measurement to
collect signal samples, then view averaged and peak S-unit results.

Also fix signal display to correctly convert dBm wire format to
S-units using standard S-meter scale (S1=-121dBm, S9=-73dBm,
6dB per S-unit).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-08 12:14:30 +01:00
parent 822a19588f
commit c67e8feb9c
3 changed files with 61 additions and 70 deletions
@@ -122,13 +122,11 @@ input.status-input, select.status-input { width: 100%; padding: 0.45rem 0.5rem;
color: var(--accent-green);
font-weight: 600;
}
#signal-graph {
width: 100%;
height: 60px;
.signal-measure {
display: inline-flex;
gap: 0.5rem;
align-items: center;
margin-top: 0.4rem;
border-radius: 6px;
background: var(--input-bg);
border: 1px solid var(--border-light);
}
button { padding: 0.5rem 0.9rem; border-radius: 6px; border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--text); cursor: pointer; height: 2.6rem; }
button:disabled { opacity: 0.6; cursor: not-allowed; }