@@ -121,12 +121,11 @@ export function NodesPanel({ nodes, selectedIndex, height = 20, inspectorHeight
121121 < Text color = { theme . fg . muted } > { "NAME" . padEnd ( 8 ) } </ Text >
122122 < Text color = { theme . fg . muted } > { "ID" . padEnd ( 11 ) } </ Text >
123123 < Text color = { theme . fg . muted } > { "★ " } </ Text >
124- < Text color = { theme . fg . muted } > { "R " } </ Text >
125124 < Text color = { theme . fg . muted } > { "HOP" . padEnd ( 4 ) } </ Text >
126125 < Text color = { theme . fg . muted } > { "SNR" . padEnd ( 8 ) } </ Text >
127126 < Text color = { theme . fg . muted } > { "BAT" . padEnd ( 5 ) } </ Text >
128127 < Text color = { theme . fg . muted } > { "HEARD" . padEnd ( 6 ) } </ Text >
129- < Text color = { theme . fg . muted } > { " " } </ Text >
128+ < Text color = { theme . fg . muted } > { "R " } </ Text >
130129 < Box flexGrow = { 1 } > < Text color = { theme . fg . muted } > LONG NAME</ Text > </ Box >
131130 < Box width = { 16 } > < Text color = { theme . fg . muted } > MODEL</ Text > </ Box >
132131 </ Box >
@@ -195,12 +194,11 @@ function NodeRow({ node, isSelected }: NodeRowProps) {
195194 < Text color = { nameColor } > { padEndVisual ( displayName , 8 ) } </ Text >
196195 < Text color = { theme . fg . muted } > { nodeId . padEnd ( 11 ) } </ Text >
197196 < Text color = "#ffcc00" > { favStar } </ Text > < Text > { " " } </ Text >
198- < Text color = { getRoleColor ( node . role ) } > { role } </ Text >
199197 < Text color = { getHopsColor ( node . hopsAway ) } > { hops . padEnd ( 4 ) } </ Text >
200198 < Text color = { getSnrColor ( node . snr ) } > { snr . padStart ( 7 ) } </ Text >
201199 < Text color = { getBatteryColor ( node . batteryLevel , node . voltage ) } > { battery . padEnd ( 5 ) } </ Text >
202200 < Text color = { theme . fg . secondary } > { lastHeard . padEnd ( 6 ) } </ Text >
203- < Text color = { theme . fg . muted } > { " " } </ Text >
201+ < Text color = { getRoleColor ( node . role ) } > { role } </ Text >
204202 < Box flexGrow = { 1 } > < Text color = { theme . fg . primary } wrap = "truncate" > { longName } </ Text > </ Box >
205203 < Box width = { 16 } > < Text color = { theme . data . hardware } wrap = "truncate" > { hwModel } </ Text > </ Box >
206204 </ Box >
0 commit comments