Packet viewer: move snr immediately below heard

Group the two reception facts — when heard and signal quality — together
at the top of the card, above the identity block, rather than tucking snr
below from/type.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 4.8 committed 2026-07-20 17:30:14 -04:00
1 parent 56f4346ad8
commit 7b5b581b4b
1 file changed
+3 -2
+3 -2
View File
@@ -494,6 +494,9 @@ class PacketViewer(Screen):
heard.append(f" ({format_ago(secs)})", style="muted")
rows.append(("heard", heard))
if entry.snr is not None or entry.rssi is not None:
rows.append(("snr", self._reception(entry)))
if entry.node or entry.name:
who = Text()
label, style = node_label(entry, self._resolve, self._self_name)
@@ -506,8 +509,6 @@ class PacketViewer(Screen):
label = NODE_TYPE_LABELS.get(entry.node_type, f"type {entry.node_type}")
rows.append(("type", Text(label)))
if entry.snr is not None or entry.rssi is not None:
rows.append(("snr", self._reception(entry)))
if entry.kind == "packet":
rows.extend(self._packet_rows(entry))
return rows