up
This commit is contained in:
@@ -100,7 +100,7 @@ const TREE: TreeNode[] = [
|
||||
],
|
||||
},
|
||||
{
|
||||
kind: 'group', label: 'Hardware Configuration', icon: Server, children: [
|
||||
kind: 'group', label: 'Hardware Configuration', icon: Server, defaultOpen: true, children: [
|
||||
{ kind: 'item', label: 'CAT interface (OmniRig)', id: 'cat' },
|
||||
{ kind: 'item', label: 'Rotator (PstRotator)', id: 'rotator' },
|
||||
{ kind: 'item', label: 'Antenna (Ultrabeam)', id: 'antenna', disabled: true },
|
||||
@@ -225,6 +225,7 @@ export function SettingsModal({ onClose, onSaved, initialSection }: Props) {
|
||||
qrz_user: '', qrz_password: '',
|
||||
hamqth_user: '', hamqth_password: '',
|
||||
primary: '', failsafe: '',
|
||||
download_images: false,
|
||||
cache_ttl_days: 30,
|
||||
});
|
||||
// Per-provider Test state — keeps the success/error feedback adjacent
|
||||
@@ -712,6 +713,24 @@ export function SettingsModal({ onClose, onSaved, initialSection }: Props) {
|
||||
Failsafe is consulted only when the Primary returns no match or errors. Set both to none (uncheck) during contests to skip the network entirely.
|
||||
</p>
|
||||
|
||||
<div className="mt-6 pt-4 border-t border-border">
|
||||
<h3 className="text-sm font-semibold mb-2">Display</h3>
|
||||
<label className="flex items-start gap-2 text-sm cursor-pointer">
|
||||
<Checkbox
|
||||
checked={lookup.download_images}
|
||||
onCheckedChange={(c) => setLookup((s) => ({ ...s, download_images: !!c }))}
|
||||
className="mt-0.5"
|
||||
/>
|
||||
<span>
|
||||
Show QRZ profile pictures
|
||||
<span className="block text-xs text-muted-foreground mt-0.5">
|
||||
Display the photo from QRZ.com next to the worked-before matrix.
|
||||
May noticeably slow lookups during busy contest days; turn off if you operate fast.
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div className="mt-6 pt-4 border-t border-border">
|
||||
<h3 className="text-sm font-semibold mb-2">Cache</h3>
|
||||
<p className="text-xs text-muted-foreground mb-3">
|
||||
|
||||
Reference in New Issue
Block a user