@@ -89,13 +89,23 @@ Status messages follow these consistent conventions:
8989- ** Context** : When connecting to device and checking if a wardriving slot is available
9090- ** Minimum Visibility** : 500ms minimum enforced (or until API response received)
9191
92- #### WarDriving app has reached capacity or is down
93- - ** Message** : ` "WarDriving app has reached capacity or is down " `
92+ #### WarDriving app has reached capacity
93+ - ** Message** : ` "WarDriving app has reached capacity" `
9494- ** Color** : Red (error)
9595- ** Used in** : ` checkCapacity() ` , ` postToMeshMapperAPI() `
96- - ** Source** : ` content/wardrive.js:2051 ` , ` content/wardrive.js:1115 `
97- - ** Context** : Capacity check API denies slot on connect, or wardriving API returns allowed=false during active session
96+ - ** Source** : ` content/wardrive.js:1061 ` , ` content/wardrive.js:1116 `
97+ - ** Context** : Capacity check API denies slot on connect (returns allowed=false) , or wardriving API returns allowed=false during active session
9898- ** Minimum Visibility** : N/A (error state persists until disconnect)
99+ - ** Notes** : Displayed when the API successfully responds but indicates capacity is full
100+
101+ #### WarDriving app is down
102+ - ** Message** : ` "WarDriving app is down" `
103+ - ** Color** : Red (error)
104+ - ** Used in** : ` checkCapacity() `
105+ - ** Source** : ` content/wardrive.js:1050 ` , ` content/wardrive.js:1072 `
106+ - ** Context** : Capacity check API returns error status or network is unreachable during connect
107+ - ** Minimum Visibility** : N/A (error state persists until disconnect)
108+ - ** Notes** : Implements fail-closed policy - connection is denied if API fails or is unreachable
99109
100110#### Unable to read device public key; try again
101111- ** Message** : ` "Unable to read device public key; try again" `
@@ -106,13 +116,12 @@ Status messages follow these consistent conventions:
106116- ** Minimum Visibility** : N/A (error state persists until disconnect)
107117
108118#### Network issue checking slot, proceeding anyway
109- - ** Message** : ` "Network issue checking slot, proceeding anyway" `
119+ - ** Message** : ` "Network issue checking slot, proceeding anyway" ` (DEPRECATED - no longer used)
110120- ** Color** : Amber (warning)
111- - ** Used in** : ` checkCapacity() `
112- - ** Source** : ` content/wardrive.js:1051 ` , ` content/wardrive.js:1070 `
113- - ** Context** : Capacity check API is unreachable or returns error during connect (fail-open behavior)
114- - ** Minimum Visibility** : 1500ms enforced (brief warning before continuing)
115- - ** Notes** : Implements fail-open policy - allows connection to proceed despite API failure
121+ - ** Used in** : N/A (removed)
122+ - ** Source** : Previously ` content/wardrive.js:1051 ` , ` content/wardrive.js:1070 `
123+ - ** Context** : This message is no longer shown. Network issues now result in connection denial (fail-closed)
124+ - ** Notes** : Replaced by fail-closed policy - connection is now denied on network errors
116125
117126---
118127
@@ -268,9 +277,9 @@ These messages use a hybrid approach: **first display respects 500ms minimum**,
268277#### Idle
269278- ** Message** : ` "Idle" `
270279- ** Color** : Slate (idle)
271- - ** Used in** : ` postApiAndRefreshMap() `
272- - ** Source** : ` content/wardrive.js:1091 `
273- - ** Context** : Manual mode, after API post completes
280+ - ** Used in** : ` connect() ` , ` postApiAndRefreshMap() `
281+ - ** Source** : ` content/wardrive.js:2060 ` , ` content/wardrive.js: 1091`
282+ - ** Context** : Initial connection complete after capacity check succeeds, or manual mode after API post completes
274283- ** Minimum Visibility** : 500ms minimum enforced
275284
276285---
@@ -360,9 +369,9 @@ Result: "Message A" (visible 500ms) → "Message C"
360369
361370## Summary
362371
363- ** Total Status Messages** : 29 unique message patterns
372+ ** Total Status Messages** : 30 unique message patterns
364373- ** Connection** : 7 messages
365- - ** Capacity Check** : 4 messages
374+ - ** Capacity Check** : 4 messages (1 deprecated)
366375- ** Ping Operation** : 6 messages (consolidated "Ping sent" for both manual and auto)
367376- ** GPS** : 2 messages
368377- ** Countdown Timers** : 6 message patterns (with dynamic countdown values)
0 commit comments