feat(watchlist): the auto-contest pattern — DXHunter's contest_prefix
A field in the tab's toolbar (e.g. WWA): while non-empty, any spotted callsign CONTAINING it joins the watchlist as a contest entry by itself — a special-event fleet (HB9WWA, DL0WWA, F4WWA/P…) is collected as it appears instead of typed in one by one, and each is judged per UTC day like any contest entry. Contains, not prefix, because the event string sits anywhere in those calls. Global setting, cached in an atomic so the spot pipeline never touches the settings store per spot. Emptying the field stops the collecting but keeps what was collected — DXHunter deletes non-matching contest entries on a pattern change, and a setting that silently empties an operator's list is the one behaviour of the original this port refuses. The tab also refreshes on backend auto-adds (event) and on a slow tick, so last-seen and the counters stay honest while it sits open.
This commit is contained in:
@@ -1142,6 +1142,10 @@ export function GetUltrabeamStatus() {
|
||||
return window['go']['main']['App']['GetUltrabeamStatus']();
|
||||
}
|
||||
|
||||
export function GetWatchlistContestPattern() {
|
||||
return window['go']['main']['App']['GetWatchlistContestPattern']();
|
||||
}
|
||||
|
||||
export function GetWebPublishConfig() {
|
||||
return window['go']['main']['App']['GetWebPublishConfig']();
|
||||
}
|
||||
@@ -2394,6 +2398,10 @@ export function SetUltrabeamDirection(arg1) {
|
||||
return window['go']['main']['App']['SetUltrabeamDirection'](arg1);
|
||||
}
|
||||
|
||||
export function SetWatchlistContestPattern(arg1) {
|
||||
return window['go']['main']['App']['SetWatchlistContestPattern'](arg1);
|
||||
}
|
||||
|
||||
export function SetWinkeyerTrace(arg1) {
|
||||
return window['go']['main']['App']['SetWinkeyerTrace'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user