Remove Geo From Roster
ci / test (push) Successful in 36s
ci / release (push) Successful in 1m25s

This commit is contained in:
2026-07-03 05:58:05 -04:00
parent 2d63ee476a
commit 0ccbcd5f9a
-6
View File
@@ -241,7 +241,6 @@ func renderPeerView(t Theme, roster []viz.Peer, events []viz.FeedItem, cursor, h
lines = append(lines, lipgloss.NewStyle().Bold(true).Foreground(t.Honey).Render("── Live roster ──"))
lines = append(lines, joinRow(
hdr.Render(padCellLeft("STATUS", colWStatus)),
hdr.Render(padCellLeft("GEO", colWGeo)),
hdr.Render(padCellLeft("ATTACKS/HR", colWAtkHr)),
hdr.Render("PEER"),
))
@@ -301,13 +300,8 @@ func renderRosterRow(t Theme, p viz.Peer, width int, operator bool) string {
if operator && p.PeerPublicKeyHex != "" {
peerID = p.PeerPublicKeyHex
}
geo := p.Geo
if geo == "" {
geo = "—"
}
fixed := joinRow(
styleCell(status, colWStatus, lipgloss.NewStyle().Foreground(col)),
padCellLeft(geo, colWGeo),
padCellRight(viz.FormatCount(p.AttacksLastHour), colWAtkHr),
)
peerW := remainingWidth(width, fixed)