feat: legibility — conditions, hints, kinder errors (Workstream B)
GET /api/conditions surfaces what the backend already computes: moon phase, veil thinness, geomagnetic state — junk lon degrades to moon-only instead of a 422, missing NOAA data means fewer lines, never an error. VeilConditions renders it in the séance side column, polling every 10 min. ModeHint: one in-fiction line per mode after 15s of an unused sensor, dismissed forever via localStorage. Error copy in evp/radio now detect-and-redirects (mic denied -> 'the board needs no ear'; no WebUSB -> try EVP) instead of dead-ending. No geolocation prompt from the conditions strip — asking for location from a passive readout would be hostile; ?lon= stays supported for callers that have it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> # Conflicts: # frontend/src/pages/SeancePage.tsx
This commit is contained in:
@@ -155,12 +155,40 @@
|
||||
"line": "⚡ {{source}} {{frequency}} +{{magnitude}}dB",
|
||||
"count": "{{count}} anomalies witnessed this session"
|
||||
},
|
||||
"hints": {
|
||||
"wire": "the wire whispers on its own when you listen passively",
|
||||
"evp": "the veil listens through your microphone — grant it your ear",
|
||||
"radio": "a tuner in the hand hears further than the wire",
|
||||
"ouija": "ask below, or let the board drift",
|
||||
"emf": "hold still; the field remembers movement"
|
||||
},
|
||||
"conditions": {
|
||||
"title": "VEIL CONDITIONS",
|
||||
"lit": "{{percent}}% lit",
|
||||
"veil": {
|
||||
"thin": "the veil runs thin tonight",
|
||||
"veiled": "the veil hangs, neither open nor shut",
|
||||
"heavy": "the veil lies heavy"
|
||||
},
|
||||
"fieldQuiet": "field: quiet",
|
||||
"fieldStorm": "geomagnetic storm",
|
||||
"moon": {
|
||||
"new_moon": "new moon",
|
||||
"waxing_crescent": "waxing crescent",
|
||||
"first_quarter": "first quarter",
|
||||
"waxing_gibbous": "waxing gibbous",
|
||||
"full_moon": "full moon",
|
||||
"waning_gibbous": "waning gibbous",
|
||||
"last_quarter": "last quarter",
|
||||
"waning_crescent": "waning crescent"
|
||||
}
|
||||
},
|
||||
"evp": {
|
||||
"start": "open the microphone",
|
||||
"stop": "close the microphone",
|
||||
"listening": "listening to the voice band…",
|
||||
"deniedTitle": "the microphone stays shut",
|
||||
"denied": "This vessel refused the microphone. Grant audio permission in your browser to practice EVP — or let the Wire Ghost listen instead; it needs nothing but the network you already fear.",
|
||||
"denied": "This vessel refused the microphone. Grant audio permission in your browser's site settings to practice EVP — or turn to the ouija board or the Wire Ghost instead; the board needs no ear, and the wire only the network you already fear.",
|
||||
"floor": "room floor",
|
||||
"band": "voice band 300–3400 Hz",
|
||||
"scopeLabel": "live audio spectrum from the microphone"
|
||||
@@ -169,7 +197,7 @@
|
||||
"start": "sweep the band",
|
||||
"stop": "rest the needle",
|
||||
"unsupportedTitle": "this vessel cannot hear the radio dead",
|
||||
"unsupported": "Spirit Radio needs Chromium (WebUSB) and an RTL-SDR dongle. The other modes do not — the wire and the microphone still answer.",
|
||||
"unsupported": "Spirit Radio needs Chromium (WebUSB) and an RTL-SDR dongle. The other modes still answer — EVP hears through the microphone you already carry, and the wire needs nothing at all.",
|
||||
"troubleshoot": "troubleshooting: chromium-based browser · udev rules for 0bda:2838 · the dongle plugged in, not merely believed in",
|
||||
"insecure": "the radio dead only speak through consecrated ground — open this site via its https address.",
|
||||
"insecureHint": "localhost counts as hallowed; a bare http://lan-ip does not.",
|
||||
|
||||
Reference in New Issue
Block a user