diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 02cee49..383dc06 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1370,12 +1370,6 @@ export default function App() { {!lookupBusy && !lookupResult && lookupError && ( {lookupError} )} - {/* Contacted entity flag (from its DXCC number). */} - {flagURL(details.dxcc) && ( - { (e.currentTarget as HTMLImageElement).style.display = 'none'; }} /> - )} - + -
- + { const v = e.target.value.replace(/\D/g, ''); updateDetails({ cqz: v === '' ? undefined : parseInt(v, 10) }); }} />
-
- + { const v = e.target.value.replace(/\D/g, ''); updateDetails({ ituz: v === '' ? undefined : parseInt(v, 10) }); }} />
-
- +
} diff --git a/frontend/src/components/BandSlotGrid.tsx b/frontend/src/components/BandSlotGrid.tsx index fc59ff4..bd7b5d1 100644 --- a/frontend/src/components/BandSlotGrid.tsx +++ b/frontend/src/components/BandSlotGrid.tsx @@ -60,6 +60,7 @@ export function BandSlotGrid({ wb, busy, currentBand, currentMode }: Props) { const dxcc = wb?.dxcc ?? 0; const dxccName = wb?.dxcc_name ?? ''; const dxccCount = wb?.dxcc_count ?? 0; + const callCount = wb?.count ?? 0; // QSOs with this exact callsign const hasDxcc = dxcc > 0; const newOne = hasDxcc && dxccCount === 0; @@ -98,6 +99,13 @@ export function BandSlotGrid({ wb, busy, currentBand, currentMode }: Props) { {dxccCount}{' '} QSO{dxccCount > 1 ? 's' : ''} with this entity + {callCount > 0 && ( + <> + {' · '} + {callCount}{' '} + with this call + + )} ) : busy ? ( @@ -112,15 +120,15 @@ export function BandSlotGrid({ wb, busy, currentBand, currentMode }: Props) { )} - +
-
+ {BANDS.map((b) => ( @@ -136,7 +144,7 @@ export function BandSlotGrid({ wb, busy, currentBand, currentMode }: Props) {
@@ -150,7 +158,7 @@ export function BandSlotGrid({ wb, busy, currentBand, currentMode }: Props) { key={b.tag} title={cellTitle(b.tag, cls, st, isCurrent)} className={cn( - 'w-[22px] h-[18px] rounded transition-colors p-0', + 'w-[28px] h-[24px] rounded transition-colors p-0', st ? STATUS_CLASSES[st] : 'bg-stone-200 hover:bg-stone-300', isCurrent && 'ring-2 ring-amber-500 ring-inset', )}