Repository navigation
v0.10.0
The config editor now explains itself.
v0.9.0 put a downloadable battlecast.exe in your hands. This release means the editor you land in at http://localhost:7397/config makes sense without reading the repo.
Every widget row leads with a plain-language name and a description of what it actually puts on screen — always visible, no clicking. Every individual control has an ⓘ you can open for a sentence on what it changes.
The copy deliberately calls out the two behaviours that most often look like bugs: pit / tire-wear / fuel are suppressed on purpose in qualifying and practice, and the lower-thirds hide themselves between camera cuts.
Added
-
In-app help for every
/configcontrol. The config editor now explains itself, so a
broadcaster who downloaded the binary can learn what each widget does without leaving the page.
Two levels: each widget carries a human name and a short description of what it puts on screen,
rendered always visible in its row; each individual control carries help behind an ⓘ
revealed on demand (the panel is dense, but a nativetitle=tooltip signals nothing until you
hover it). The copy calls out the two behaviors that most often read as bugs — that pit, tire
wear and fuel are deliberately suppressed in qualifying and practice, and that the lower-thirds
hide themselves between camera cuts. -
app/src/lib/configHelp.js— all help copy as data in one module, keyed by widget and by
logical field name, withapp/src/lib/HelpTip.svelterendering it. Tests assert the maps match
the config surface the editor iterates (WIDGET_KEYS,TOWER_METRIC_FIELDS,DRIVER_INFO_FIELDS)
with no missing and no orphan entries, and that every rendered widget control resolves to an ⓘ —
so a knob added without help fails CI instead of shipping unexplained.
Fixed
-
Asking for help no longer changes the setting. The ⓘ affordances sit inside
<label>
elements, so a click on one would have activated the control beside it — opening the help for
"Reduced motion" would have switched reduced motion on. The button now cancels its own click.
Found by the test written for it, and confirmed against a real browser. -
/configlegend layout. The per-widget visibility checkbox, the widget name and its help
affordance now sit on one line; a bare<legend>had laid them out as block flow.