fix(spot): spot the references worth chasing, not the derived ones
The comment came out "SSB WAC EU WAZ 15 WPX HA5" — the QSO's materialised award_refs hold both kinds, and I took them all. Those four are what every reader of the spot derives from the callsign in their head. They spent the whole 30-character comment saying nothing and buried SOTA HA/KM-018, the one reference anyone would have acted on. Computed awards are now filtered out with the same rule the QSO editor uses (isComputedAwardField), which is why they are the ones it lists on the left and not in its read-only panel. The field map moves from a ref to state as well: a ref left the first spot of a session computing before GetAwardDefs had answered. Also opens 0.25.2, since 0.25.1 shipped before the spot work, and sets the default mode list to SSB, CW, FT8, FT4, FT2, RTTY, PSK31, FM. AM and DIGITALVOICE stay in the catalogue but are no longer selected on a fresh install. FT2 joins the digital family everywhere its siblings are listed — report list, RST defaults, Flex power class — so it gets dB reports rather than the 59 an unknown mode falls back to.
This commit is contained in:
@@ -486,16 +486,20 @@ var defaultBands = []string{
|
||||
"160m", "80m", "60m", "40m", "30m", "20m", "17m", "15m",
|
||||
"12m", "10m", "6m", "2m", "70cm", "23cm",
|
||||
}
|
||||
// defaultModes is what a fresh install starts with — the modes most operators
|
||||
// actually use, in the order they are offered. AM and DIGITALVOICE are NOT here
|
||||
// on purpose: they stay in the Available catalogue for whoever wants them, but
|
||||
// a list that opens with nine entries when two are never touched costs a scroll
|
||||
// on every mode change.
|
||||
var defaultModes = []ModePreset{
|
||||
{Name: "SSB", DefaultRSTSent: "59", DefaultRSTRcvd: "59"},
|
||||
{Name: "CW", DefaultRSTSent: "599", DefaultRSTRcvd: "599"},
|
||||
{Name: "FT8", DefaultRSTSent: "+00", DefaultRSTRcvd: "+00"},
|
||||
{Name: "FT4", DefaultRSTSent: "+00", DefaultRSTRcvd: "+00"},
|
||||
{Name: "FT2", DefaultRSTSent: "+00", DefaultRSTRcvd: "+00"},
|
||||
{Name: "RTTY", DefaultRSTSent: "599", DefaultRSTRcvd: "599"},
|
||||
{Name: "PSK31", DefaultRSTSent: "599", DefaultRSTRcvd: "599"},
|
||||
{Name: "AM", DefaultRSTSent: "59", DefaultRSTRcvd: "59"},
|
||||
{Name: "FM", DefaultRSTSent: "59", DefaultRSTRcvd: "59"},
|
||||
{Name: "DIGITALVOICE", DefaultRSTSent: "59", DefaultRSTRcvd: "59"},
|
||||
}
|
||||
|
||||
// Default RST report lists, editable in Settings → Modes. Phone carries the
|
||||
@@ -13359,7 +13363,7 @@ func flexPowerClass(mode string) string {
|
||||
return "phone"
|
||||
case "CW", "CWR":
|
||||
return "cw"
|
||||
case "FT8", "FT4", "JT65", "JT9", "JS8", "RTTY", "PSK", "PSK31", "PSK63",
|
||||
case "FT8", "FT4", "FT2", "JT65", "JT9", "JS8", "RTTY", "PSK", "PSK31", "PSK63",
|
||||
"BPSK", "QPSK", "MFSK", "OLIVIA", "CONTESTI", "DATA", "DIGITALVOICE",
|
||||
"DIGU", "DIGL", "Q65", "MSK144", "WSPR", "FST4", "FST4W", "ARDOP", "VARA":
|
||||
return "digi"
|
||||
|
||||
Reference in New Issue
Block a user