From 8c1b7af5b39e5598de5d1c1bb2f2598c2e885460 Mon Sep 17 00:00:00 2001 From: rouggy Date: Sat, 25 Jul 2026 02:32:42 +0200 Subject: [PATCH] ui: compact the "will count for" detected-awards list in QSO details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the QSO details Awards tab, the detected-refs line grew tall (DXCC/WAS/WAZ/ WAC/WPX/USA-CA… each with its full name), squishing the AwardRefSelector above so you couldn't see the selected awards. Show just CODE@REF chips (full name on hover), cap the block height with overflow scroll, and add a separator. Changelog 0.21.1. --- changelog.json | 6 ++++-- frontend/src/components/DetailsPanel.tsx | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/changelog.json b/changelog.json index 24a2359..403de96 100644 --- a/changelog.json +++ b/changelog.json @@ -6,13 +6,15 @@ "Fixed the colour theme sometimes reverting to the default when reopening OpsLog — it's now restored reliably.", "ADIF export field picker: the per-group All / None buttons work again.", "Station Control: cards now pack tightly into balanced columns instead of leaving big gaps under shorter panels — a cleaner, more even dashboard.", - "Main-view band map: Ctrl+↑ / Ctrl+↓ jumps to the next spot above / below the current frequency and tunes to it." + "Main-view band map: Ctrl+↑ / Ctrl+↓ jumps to the next spot above / below the current frequency and tunes to it.", + "QSO details → Awards: the 'this contact will count for' list is now compact (CODE@REF chips, full name on hover) with a capped height, so it no longer hides the awards you've selected." ], "fr": [ "Correction du thème qui revenait parfois au défaut à la réouverture d'OpsLog — il est maintenant restauré de façon fiable.", "Sélecteur de champs à l'export ADIF : les boutons Tout / Aucun par groupe refonctionnent.", "Station Control : les cartes se rangent en colonnes équilibrées et se tassent au lieu de laisser de gros trous sous les panneaux plus courts — tableau de bord plus propre et régulier.", - "Band map de l'écran principal : Ctrl+↑ / Ctrl+↓ saute au spot suivant au-dessus / en dessous de la fréquence courante et s'y accorde." + "Band map de l'écran principal : Ctrl+↑ / Ctrl+↓ saute au spot suivant au-dessus / en dessous de la fréquence courante et s'y accorde.", + "Détails du QSO → Diplômes : la liste « ce contact comptera pour » est maintenant compacte (pastilles CODE@REF, nom complet au survol) et de hauteur limitée, elle ne masque plus les diplômes sélectionnés." ] }, { diff --git a/frontend/src/components/DetailsPanel.tsx b/frontend/src/components/DetailsPanel.tsx index efa8d76..16cc1e9 100644 --- a/frontend/src/components/DetailsPanel.tsx +++ b/frontend/src/components/DetailsPanel.tsx @@ -306,11 +306,11 @@ export function DetailsPanel({ callsign, prefix, operatorGrid, remoteGrid, detai heightClass="flex-1 min-h-0" /> {detected.length > 0 && ( -
+
{t('detp.detected')}{' '} {detected.map((r) => ( - - {r.code}{r.ref ? `@${r.ref}` : ''}{r.name ? {r.name} : null} + + {r.code}{r.ref ? `@${r.ref}` : ''} ))}