meshpoint icon indicating copy to clipboard operation
meshpoint copied to clipboard

Stats Range Values always in Imperial values

Open gwaitsi opened this issue 1 month ago • 2 comments

Describe the bug

The Range values on the Stats dashboard show in imperial, even when metric is set

What happened?

Steps to reproduce

  1. set temp / distance values to metric under settings/system
  2. reboot or not, makes no difference
  3. goto Status / Stats dashboard, Range values farthest direct signal and node via mesh are still in imperial, even when metric is set

Expected behavior

Hardware

  • Pi:
  • Concentrator:
  • Node/radio: ShortSlow
  • Region: EU 868
  • OS: Armbian G295

Logs / screenshots

Paste logs if possible.

Notes

gwaitsi avatar Oct 21 '26 20:10 gwaitsi

I checked both Stats range cards against the current RC source. They already use the selected distance units and refresh when you change that preference. The fix is included in b91d994bd2cb2ab63fdf917d0f7897cee0661e58, and there is regression coverage for both values and labels switching between imperial and metric.

Could you share the installed commit from:

git -C /opt/meshpoint rev-parse --short HEAD

Then reload the dashboard with a hard refresh and confirm Metric is selected in that same browser before checking Stats again. The displayed 0.7.9 version alone doesn't identify the branch or commit because the current RC still carries that version label.

If both cards still show imperial on current RC after that, I'll investigate further. This is based on checking the source and existing coverage; I haven't reproduced it on your device.

KMX415 avatar Oct 26 '26 02:10 KMX415

Consolidating this report into #131, which tracks the same Stats range-card metric/imperial display problem. The fix is in feat/v0.8.0 at b91d994bd2cb2ab63fdf917d0f7897cee0661e58, with regression coverage for both range values and labels. It has not reached Stable/main yet; #131 remains open through release.

This closure is to avoid duplicate tracking, not confirmation that the behavior on your installation has been resolved. If it persists on current RC after a hard refresh with Metric selected in the same browser, please add your installed commit (git -C /opt/meshpoint rev-parse --short HEAD) and observations to #131. Thanks for reporting it.

KMX415 avatar Nov 12 '26 17:11 KMX415