Repository navigation
feat(app): show the measured noise floor in the cells and the HUD - #711
Conversation
586db7c to
95cdbac
Compare
|
Amended (95cdbac): the noise layer draws each cell as a soft spot rather than a hex (Kasper, on the review). A hex read as one of the signal cells, while a noise floor is a property of the place around the sample. One blurred circle per cell at its centre ( |
The noise layer coloured each cell but never said how loud. From zoom 16 the hex-label markers carry each noise cell's median in whole dBm, read from the same cells the fill draws. The HUD shows the latest reading while the layer is on and the companion answers, and drops it after three rounds without one. To make room, the HUD's rows are regrouped: the number and the sender in row 1, the SNR, the noise floor and the age in row 2. Row 2 holds only numbers of a known widest form, so the SNR still never shrinks (efiten#637), and both rows keep their heights. Closes efiten#708 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
95cdbac to
1667e58
Compare
|
Rebased onto master (1667e58). Conflicts in |
|
Fix-check of 1667e58: the rebase onto #734 is right. Spots and labels are built in #740 is now merged (c6fc9a9) and conflicts with this one in One small thing to fold into the rebase: |
|
Second review of 1667e58 (base 77d4e5a), full template: no point to change. Run:
|
Resolves the conflict with efiten#740 in app/src/huntmap.js: drawCells writes the noise source through put(), as efiten#740 does, and keeps passing vis.noise to drawHexLabels for the noise labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged master in (09372ec) to resolve the conflict with #740 in |
🤖 I have created a release *beep* *boop* --- <details><summary>app: 1.31.0</summary> ## [1.31.0](app-v1.30.0...app-v1.31.0) (2026-10-02) ### Features * **app:** show the measured noise floor in the cells and the HUD ([#711](#711)) ([d97cec0](d97cec0)) ### Performance Improvements * **app:** hand a map collection to MapLibre only when it changed ([#740](#740)) ([c6fc9a9](c6fc9a9)) </details> <details><summary>web: 1.27.0</summary> ## [1.27.0](web-v1.26.0...web-v1.27.0) (2026-10-02) ### Features * **app:** show the measured noise floor in the cells and the HUD ([#711](#711)) ([d97cec0](d97cec0)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Closes #708
What
The noise layer (#410) coloured each cell but never said how loud.
noiseLabelItems), read from the same cells the fill draws, so a label and its colour are always one median. The layer off, the markers go back to who was heard.Noise -104 dBmwhile the layer is on and the companion answers (noiseReadout). A miss, the firmware's 0 (not measured yet) or a reading older than three rounds (30 s) leaves the line empty: the companion is only asked with a fix, so without one an old value would stand looking live.The HUD rows, regrouped
Beside the SNR the noise wrapped to two lines at 360 px, so the rows are regrouped (Kasper, 27 September, on the artboard):
Row 2 holds only numbers of a known widest form (
SNR -12.5 dB,Noise -104 dBm,59m 59sfit 328 px at 360 wide), so the SNR still never shrinks and #637 cannot come back. Both rows keep their heights: the HUD stays 114 px and the FAB rail does not move. The trade: the sender gets about 20 characters at 360 px before the cut, where its own line held about 36. The float readout keeps its layout. Amended indocs/2026-09-15-reading-layer.mdanddocs/2026-09-25-noise-floor-layer.md.The layer draws soft spots, not hexes
Amended on the review (Kasper, 28 September). A hex read as one of the signal cells, while a noise floor is a property of the place around the sample. Each cell is now one blurred circle at its centre (
circle-blur0.8, opacity 0.6), 1.3 times the cell's radius so neighbours flow into each other, sized on the ground by the zoom (noiseRadiusinnoise.js). The cells, the medians and the dBm labels are the same; the labels sit on the spots.docs/2026-09-25-noise-floor-layer.mdamended. Checked in Chromium with 80 seeded samples: at zoom 14 the loud stretch reads as one soft band and the quiet stretch (below -119 dBm) stays clear; at zoom 16 each spot carries its median.Overlap
#710 also touches
app.css(the#hudpadding) and the changelogs. The second to merge regenerates the changelog.Verification
noise.test.js: the label per cell (rounding, centre, view), the HUD line and its 30 s limit. Each went red with its line mutated.hudlayout.test.js: which ids sit in which row, the fixed heights, and the no-shrink rules now on the SNR and the noise floor.-96,-99,-99; the rows as above; the HUD 114.4 px; the layer off brings the hex labels back and empties the noise line. No console errors.npm run buildclean🤖 Generated with Claude Code