Giant refactor to rebrand "SIG" as "Activity" anywhere that doesn't touch API or config file (which is to be addressed in a future breaking change). #147

This commit is contained in:
Ian Renton
2026-09-18 14:54:11 +01:00
parent 556ea56378
commit 81cd686a00
96 changed files with 1208 additions and 1170 deletions
+7 -7
View File
@@ -41,11 +41,11 @@ function loadOptions() {
}));
});
// Populate SIG drop-down
$.each(options["sigs"], function (i, sig) {
// Populate activity drop-down
$.each(options["sigs"], function (i, activity) {
$('#sig').append($('<option>', {
value: sig.name,
text: sig.name
value: activity.name,
text: activity.name
}));
});
@@ -57,7 +57,7 @@ function loadOptions() {
// Load settings from settings storage now all the controls are available
loadSettings();
// Update the upstream area for any pre-selected SIG
// Update the upstream area for any pre-selected activity
updateUpstreamArea();
});
}
@@ -84,7 +84,7 @@ function renderRecaptcha() {
});
}
// Update the "Send spot to..." area based on the currently selected SIG
// Update the "Send spot to..." area based on the currently selected activity
function updateUpstreamArea() {
if (!window._allowUpstreamSpotting || !options || !options["spot_submit_providers"]) {
$("#upstream-area").hide();
@@ -290,7 +290,7 @@ $("#mode").change(function () {
$(this).val($(this).val().trim().toUpperCase());
});
// Update upstream area and credentials button when SIG changes
// Update upstream area and credentials button when activity changes
$("#sig").change(function () {
updateUpstreamArea();
});