Skip to content

feat: bring trigger creation and editing into parity - #12

Open
rwjblue wants to merge 2 commits into
jsvana:mainfrom
rwjblue:rwjblue/trigger-add-edit-parity
Open

rwjblue wants to merge 2 commits into
jsvana:mainfrom
rwjblue:rwjblue/trigger-add-edit-parity

Conversation

@rwjblue

@rwjblue rwjblue commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Create and edit triggers with the same settings, including minimum-only SNR filters.

add-trigger could only build callsign triggers with a limited set of filters. Both commands now share the editor, JSON settings, and save path. This incorporates the callsign array changes from @darryldunkin in #7 and uses arrays for multiple modes too.

Closes #7
Closes #1

Examples

Add a trigger with a minimum SNR of −15 dB, then use the picker to change the minimum to −10 dB.

hamalert-cli add-trigger --callsign W1AW --callsign K3LR \
  --comment "Contest FT8" --actions app --mode ft8 --snr-from=-15

hamalert-cli edit --snr-from=-10

A picker session with one trigger looks like this.

Select a trigger to edit:

  1. [65b000000000000000000001] [ft8] W1AW, K3LR - "Contest FT8"

Enter number (1-1), or q to quit:
1
Updated trigger: Contest FT8

Omit --snr-to to use the default maximum. For a scripted edit, set TRIGGER_ID to the trigger’s _id from a backup.

hamalert-cli edit --trigger-id "$TRIGGER_ID" --snr-from=-10

Use add-trigger --editor for a new draft or --from-json with either command for full settings. The bundled skill documents the new flows and the callsign array format.

@rwjblue
rwjblue force-pushed the rwjblue/trigger-add-edit-parity branch from 769113b to 4f241e5 Compare November 17, 2026 16:24
@rwjblue
rwjblue marked this pull request as ready for review November 17, 2026 16:38
darryldunkin and others added 2 commits November 17, 2026 11:40
… of call signs as a vec/array natively.

This prevents the import from becoming a single string of callsigns with commas, to individual elements.
Share trigger settings and save logic across create and edit. Add
minimum-only SNR filters, JSON input, and an editor schema. Send mode
lists as arrays and document the callsign array behavior in the skill.
@rwjblue
rwjblue force-pushed the rwjblue/trigger-add-edit-parity branch from 4f241e5 to bbf4a21 Compare November 17, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple callsigns displaying poorly on the website

2 participants