feat(chase-new): drop the frequency column, the beacons and the bands you don't have
Three cuts, all of them removing things nobody could act on. The frequency column is gone. Clicking the row tunes the rig to it, so the number was there to be read and never used. It is still carried on the spot — the click is what needs it — and it is in the row's tooltip. The country takes the space. Modes are limited to FT8, FT4, FT2, PSK31 and RTTY. WSPR is the one worth spelling out: it is a beacon, nobody answers a WSPR transmission, so a "new entity on WSPR" is a path report and not a station to work — and on a quiet band it would have been most of the list. Bands are limited to the operator's own list. PSK Reporter carries every band its receivers listen on, and a 13 cm decode is not an opportunity for a station with no 13 cm. Both tests run before the status lookup and both read a cached map: they throw away most of the feed, so nothing downstream pays for it. The band list is re-read when the lists are saved, so ticking a band in Settings applies to the next decode rather than the next restart — which would have looked like the filter not working.
This commit is contained in:
@@ -182,16 +182,21 @@ export function ChaseNewPanel({ onPick, onClose }: Props) {
|
||||
type="button"
|
||||
onClick={() => onPick?.(s)}
|
||||
className="flex w-full items-center gap-1.5 px-2 py-1 text-left text-[11px] hover:bg-accent/40"
|
||||
title={[s.country, s.grid, s.dist_km ? `${s.dist_km} km` : ''].filter(Boolean).join(' · ')}
|
||||
title={[
|
||||
s.country,
|
||||
s.grid,
|
||||
s.dist_km ? `${s.dist_km} km` : '',
|
||||
s.freq_hz ? `${(s.freq_hz / 1000).toFixed(1)} kHz` : '',
|
||||
].filter(Boolean).join(' · ')}
|
||||
>
|
||||
<span className="w-[84px] shrink-0 truncate font-mono font-bold">{s.call}</span>
|
||||
<span className="w-9 shrink-0 font-mono text-muted-foreground">{s.band}</span>
|
||||
<span className="w-10 shrink-0 truncate text-muted-foreground">{s.mode}</span>
|
||||
<span className="w-[52px] shrink-0 text-right font-mono text-muted-foreground">
|
||||
{s.freq_hz ? (s.freq_hz / 1000).toFixed(1) : '—'}
|
||||
</span>
|
||||
{/* The country gets whatever is left, and there is more of it
|
||||
now that a row carries one badge instead of three. */}
|
||||
{/* No frequency column: clicking the row tunes the rig to it,
|
||||
so the number was a thing to read and never to use. It is
|
||||
still carried on the spot — the click is what needs it —
|
||||
and shows in the row's tooltip for anyone who wants it.
|
||||
The country takes the space it freed. */}
|
||||
<span className="min-w-0 flex-1 truncate text-muted-foreground">{s.country ?? ''}</span>
|
||||
{def && (
|
||||
<span className="shrink-0 text-[9px] font-bold" style={{ color: def.colour }}>
|
||||
|
||||
Reference in New Issue
Block a user