mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
Allow some SIG refs to be picked up from comments without separate SIG name. Closes #134
This commit is contained in:
@@ -19,7 +19,7 @@ info:
|
||||
|
||||
* Added DTMBA, FEA and BIWOTA SIGs
|
||||
* Removed the distinction between LSB & USB (both will now show as SSB) and between the various digital voice modes, which will now show as DV.
|
||||
* Added `icon` and `region_flag` to SIG information
|
||||
* Added `icon`, `region_flag` and `refs_globally_unique` to SIG information
|
||||
|
||||
### 2.0
|
||||
|
||||
@@ -1505,13 +1505,23 @@ components:
|
||||
Regex that matches this SIG's reference IDs. Generally for Spothole's own internal use,
|
||||
clients probably won't need this.
|
||||
example: "[A-Z]{2}\\-\\d+"
|
||||
refs_globally_unique:
|
||||
type: boolean
|
||||
description: >
|
||||
Identifies that the SIG's reference ID structure defined by its regex is unique across all programmes and
|
||||
anything else we expect a user to put in a spot comment, and therefore we can pull references out of
|
||||
spot comments without also needing to see the SIG name first. For example, "OHFF-1234" or "B/G-1234" are
|
||||
obviously WWFF and WWBOTA, nothing else looks like those. But "SZ09" could be WAB or Tiles, "GB1234" could
|
||||
conceivably be POTA or ILLW, etc. Generally for Spothole's own internal use, clients probably won't need
|
||||
this.
|
||||
icon:
|
||||
type: string
|
||||
description: Icon from the Font Awesome set that represents this SIG, for use in the front end.
|
||||
example: "fa-tree"
|
||||
region_flag:
|
||||
type: string
|
||||
description: Flag emoji, if this SIG is specific to a country or region. If null, this SIG is treated as worldwide.
|
||||
description: >
|
||||
Flag emoji, if this SIG is specific to a country or region. If null, this SIG is treated as worldwide.
|
||||
example: "🇺🇳"
|
||||
|
||||
SolarConditions:
|
||||
|
||||
Reference in New Issue
Block a user