style(settings): drop the verbose CW Keyer explanations (Flex/Icom notes, ESM hint)
They took vertical space in the CW Keyer panel for text operators already know. Kept the actionable CAT-backend mismatch warnings and the checkbox labels.
This commit is contained in:
@@ -3106,20 +3106,14 @@ export function SettingsModal({ onClose, onSaved, initialSection, onMainPaneChan
|
|||||||
<Checkbox checked={wk.esc_clears_call} onCheckedChange={(c) => setWkField({ esc_clears_call: !!c })} />
|
<Checkbox checked={wk.esc_clears_call} onCheckedChange={(c) => setWkField({ esc_clears_call: !!c })} />
|
||||||
{t('wk.escClears')}
|
{t('wk.escClears')}
|
||||||
</label>
|
</label>
|
||||||
<label className="flex items-start gap-2 text-sm cursor-pointer col-span-3 pb-1.5">
|
<label className="flex items-center gap-2 text-sm cursor-pointer col-span-3 pb-1.5">
|
||||||
<Checkbox checked={wk.esm} onCheckedChange={(c) => setWkField({ esm: !!c })} className="mt-0.5" />
|
<Checkbox checked={wk.esm} onCheckedChange={(c) => setWkField({ esm: !!c })} />
|
||||||
<span>
|
|
||||||
{t('wk.esm')}
|
{t('wk.esm')}
|
||||||
<span className="block text-xs text-muted-foreground">{t('wk.esmHint')}</span>
|
|
||||||
</span>
|
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{wk.engine === 'icom' ? (
|
{wk.engine === 'icom' ? (
|
||||||
<>
|
<>
|
||||||
<p className="text-xs text-muted-foreground -mt-2">
|
|
||||||
{t('wk.icomNote')}
|
|
||||||
</p>
|
|
||||||
{(!catCfg.enabled || catCfg.backend !== 'icom') && (
|
{(!catCfg.enabled || catCfg.backend !== 'icom') && (
|
||||||
<p className="text-xs font-medium text-warning -mt-1 flex items-start gap-1.5">
|
<p className="text-xs font-medium text-warning -mt-1 flex items-start gap-1.5">
|
||||||
<span aria-hidden>⚠</span>
|
<span aria-hidden>⚠</span>
|
||||||
@@ -3135,9 +3129,6 @@ export function SettingsModal({ onClose, onSaved, initialSection, onMainPaneChan
|
|||||||
</>
|
</>
|
||||||
) : wk.engine === 'flex' ? (
|
) : wk.engine === 'flex' ? (
|
||||||
<>
|
<>
|
||||||
<p className="text-xs text-muted-foreground -mt-2">
|
|
||||||
{t('wk.flexNote')}
|
|
||||||
</p>
|
|
||||||
{(!catCfg.enabled || catCfg.backend !== 'flex') && (
|
{(!catCfg.enabled || catCfg.backend !== 'flex') && (
|
||||||
<p className="text-xs font-medium text-warning -mt-1 flex items-start gap-1.5">
|
<p className="text-xs font-medium text-warning -mt-1 flex items-start gap-1.5">
|
||||||
<span aria-hidden>⚠</span>
|
<span aria-hidden>⚠</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user