Add QRP and RaDAR Rally activities

This commit is contained in:
Ian Renton
2026-09-18 17:14:24 +01:00
parent 51798fbc81
commit 0ad0d25c70
2 changed files with 18 additions and 1 deletions
+16
View File
@@ -44,6 +44,14 @@ ACTIVITIES = [
icon="fa-moon", icon="fa-moon",
refs_globally_unique=False, refs_globally_unique=False,
), ),
Activity(
name="QRP",
comment_names=["QRP"],
description="Low power",
sig_type=ActivityType.TRADITIONAL,
icon="fa-volume-low",
refs_globally_unique=False,
),
Activity( Activity(
name="POTA", name="POTA",
comment_names=["POTA"], comment_names=["POTA"],
@@ -257,6 +265,14 @@ ACTIVITIES = [
icon="fa-square", icon="fa-square",
refs_globally_unique=False, refs_globally_unique=False,
), ),
Activity(
name="RaDAR Rally",
comment_names=["RaDAR"],
description="RaDAR Rally",
sig_type=ActivityType.EVENT,
icon="fa-headset",
refs_globally_unique=False,
),
Activity( Activity(
name="WAB", name="WAB",
comment_names=["WAB"], comment_names=["WAB"],
+2 -1
View File
@@ -25,7 +25,8 @@ class Activity:
# anything else we expect a user to put in a spot comment, and therefore we can pull references out of # 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 activity name first. For example, "OHFF-1234" or "B/G-1234" are # spot comments without also needing to see the activity 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 # obviously WWFF and WWBOTA, nothing else looks like those. But "SZ09" could be WAB or Tiles, "GB1234" could
# conceivably be POTA or ILLW, etc. # conceivably be POTA or ILLW, etc. So in those cases we need to see the name of the activity itself immediately
# before it.
refs_globally_unique: bool refs_globally_unique: bool
# Activity names as they might appear in cluster spot comments, e.g. ["TOTA"] # Activity names as they might appear in cluster spot comments, e.g. ["TOTA"]
comment_names: list[str] = field(default_factory=list) comment_names: list[str] = field(default_factory=list)