Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit 6856476

Browse files
staticoclaude
andcommitted
Node list fixes: AGE column, SNR alignment, F for favorites
- Rename HEARD column to AGE (left aligned) - Right-align SNR header to match data - Change favorites sort key from V to F 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a6f0452 commit 6856476

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Options:
138138
| S | Sort by SNR |
139139
| B | Sort by battery |
140140
| A | Sort by age (last heard) |
141-
| V | Sort by favorites |
141+
| F | Sort by favorites |
142142

143143
### Chat View
144144

src/ui/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ export function App({ address, packetStore, nodeStore, skipConfig = false, skipN
16641664
if (input === "S") { handleSortKey("snr"); return; }
16651665
if (input === "B") { handleSortKey("battery"); return; }
16661666
if (input === "A") { handleSortKey("time"); return; }
1667-
if (input === "V") { handleSortKey("favorites"); return; }
1667+
if (input === "F") { handleSortKey("favorites"); return; }
16681668

16691669
const nodePageSize = Math.max(1, terminalHeight - 16);
16701670
if (input === "j" || key.downArrow) {

src/ui/components/NodesPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ export function NodesPanel({ nodes, selectedIndex, height = 20, inspectorHeight
128128
<Text color={sortKey === "hops" ? theme.fg.accent : theme.fg.muted}>{sortKey === "hops" ? (sortAscending ? "↑" : "↓") : " "}</Text>
129129
<Text color={sortKey === "hops" ? theme.fg.accent : theme.fg.muted}>{"HOP".padEnd(3)}</Text>
130130
<Text color={sortKey === "snr" ? theme.fg.accent : theme.fg.muted}>{sortKey === "snr" ? (sortAscending ? "↑" : "↓") : " "}</Text>
131-
<Text color={sortKey === "snr" ? theme.fg.accent : theme.fg.muted}>{"SNR".padEnd(7)}</Text>
131+
<Text color={sortKey === "snr" ? theme.fg.accent : theme.fg.muted}>{"SNR".padStart(7)} </Text>
132132
<Text color={sortKey === "battery" ? theme.fg.accent : theme.fg.muted}>{sortKey === "battery" ? (sortAscending ? "↑" : "↓") : " "}</Text>
133133
<Text color={sortKey === "battery" ? theme.fg.accent : theme.fg.muted}>{"BAT".padEnd(4)}</Text>
134134
<Text color={sortKey === "time" ? theme.fg.accent : theme.fg.muted}>{sortKey === "time" ? (sortAscending ? "↑" : "↓") : " "}</Text>
135-
<Text color={sortKey === "time" ? theme.fg.accent : theme.fg.muted}>{"HEARD".padEnd(5)}</Text>
135+
<Text color={sortKey === "time" ? theme.fg.accent : theme.fg.muted}>{"AGE".padEnd(5)}</Text>
136136
<Text color={theme.fg.muted}>{"R "}</Text>
137137
<Box flexGrow={1}><Text color={theme.fg.muted}>LONG NAME</Text></Box>
138138
<Box width={16}><Text color={theme.fg.muted}>MODEL</Text></Box>

0 commit comments

Comments
 (0)