From 382e818dc8ad308a535c4e4387abac09d771e1ea Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sun, 19 May 2024 11:22:04 +1200 Subject: [PATCH] make it more apparent which ids are for which node in neighbour tooltip --- src/public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/index.html b/src/public/index.html index aecfa9b..b3d2f31 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -2789,8 +2789,8 @@ const tooltip = `[${escapeString(node.short_name)}] ${escapeString(node.long_name)} heard [${escapeString(neighbourNode.short_name)}] ${escapeString(neighbourNode.long_name)}` + `
SNR: ${neighbour.snr}dB` + `
Distance: ${distance}` - + `

ID: ${neighbourNode.node_id} -> ${node.node_id}` - + `
Hex ID: ${neighbourNode.node_id_hex} -> ${node.node_id_hex}` + + `

ID: ${node.node_id} heard ${neighbourNode.node_id}` + + `
Hex ID: ${node.node_id_hex} heard ${neighbourNode.node_id_hex}` + (node.neighbours_updated_at ? `
Updated: ${moment(new Date(node.neighbours_updated_at)).fromNow()}` : '') + `

Note: Some neighbour lines are clearly wrong.
Firmware older than v2.3.2 reports MQTT nodes as Neighbours.
Fixed in #3457
`