Skip to content

Commit 9fc112d

Browse files
committed
Update connection status messages for clarity in wardrive.js
1 parent 46696a7 commit 9fc112d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

content/wardrive.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6398,16 +6398,16 @@ function updateConnectButtonState() {
63986398
setConnectButtonDisabled(!canConnect);
63996399

64006400
// Update dynamic status based on what's blocking connection
6401-
// Priority: zone error > antenna not selected > ready
6401+
// Priority: zone error > antenna not selected > zone check pending > ready
64026402
if (hasZoneError) {
64036403
// Zone error already shown as persistent message, don't override
64046404
debugLog("[UI] Connect blocked by zone error (persistent message already shown)");
64056405
} else if (!externalAntennaSelected) {
64066406
debugLog("[UI] External antenna not selected - showing message in status bar");
64076407
setDynamicStatus("Select external antenna to connect", STATUS_COLORS.warning);
64086408
} else if (!inValidZone) {
6409-
debugLog("[UI] Not in valid zone - waiting for zone check");
6410-
// Don't show message here, zone check will update status
6409+
debugLog("[UI] Not in valid zone - showing waiting for location status");
6410+
setDynamicStatus("Waiting for location...", STATUS_COLORS.info);
64116411
} else {
64126412
debugLog("[UI] External antenna selected and in valid zone - ready to connect");
64136413
// Only set Idle if not showing a disconnect error

0 commit comments

Comments
 (0)