feat(dxhunter): the chase gets a page of its own, and US states a switch
The chase switches were born on the DX Cluster page because the cluster was the only thing that drew their badges. They now decide what the FT decode list and Chase new say as well, and settings that govern three screens should not live under the name of one of them. They move to a DXHunter page — named for what it is about, and for what is meant to land beside it as more of DXHunter's ideas are ported over. US states join the switchable markers, gated the same way as POTA, counties, prefixes and squares: badge, filter chip and display marker, all from the one chaseAllows question.
This commit is contained in:
@@ -102,7 +102,7 @@ import { ExportFieldsDialog } from '@/components/ExportFieldsDialog';
|
||||
import { ShutdownProgress } from '@/components/ShutdownProgress';
|
||||
import { ClusterGrid } from '@/components/ClusterGrid';
|
||||
import { cleanSpotter, inferSpotMode, spotModeCategory, spotStatusKey } from '@/lib/spot';
|
||||
import { applySpotDisplay, chaseCounty, chaseGrid, chasePfx, chasePota, readSpotDisplayOptions, spotIsWorked, SPOT_DISPLAY_OPTIONS_EXPOSED } from '@/lib/spotDisplay';
|
||||
import { applySpotDisplay, chaseCounty, chaseGrid, chasePfx, chasePota, chaseState, readSpotDisplayOptions, spotIsWorked, SPOT_DISPLAY_OPTIONS_EXPOSED } from '@/lib/spotDisplay';
|
||||
import { AnswerDecode, HaltDecodeTx, LogUIError, FlexTXOnBand, GetMatrixColors, GetRotorPresets, GetRowColors, GetSpotTTLMinutes, GetSpotMax, IsNewUSCounty } from '../wailsjs/go/main/App';
|
||||
import { applyMatrixColors } from '@/lib/matrixColors';
|
||||
import { WorkedBeforeGrid } from '@/components/WorkedBeforeGrid';
|
||||
@@ -6265,7 +6265,8 @@ export default function App() {
|
||||
]).filter((s: any) => (s.k !== 'new-pota' || chasePota())
|
||||
&& (s.k !== 'new-county' || chaseCounty())
|
||||
&& (s.k !== 'new-pfx' || chasePfx())
|
||||
&& (s.k !== 'new-grid' || chaseGrid()))
|
||||
&& (s.k !== 'new-grid' || chaseGrid())
|
||||
&& (s.k !== 'new-state' || chaseState()))
|
||||
.map((s: any) => fChip(s.k, s.label, s.cls, clusterStatusFilter.has(s.k),
|
||||
() => setClusterStatusFilter((cur) => { const n = new Set(cur); if (n.has(s.k)) n.delete(s.k); else n.add(s.k); return n; }), s.style))}
|
||||
</div>,
|
||||
|
||||
Reference in New Issue
Block a user