Stats Range Values always in Imperial values
Describe the bug
The Range values on the Stats dashboard show in imperial, even when metric is set
What happened?
Steps to reproduce
- set temp / distance values to metric under settings/system
- reboot or not, makes no difference
- 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
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.
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.