Skip to content

See an invalid lap on the wheel, tyre numbers one corner at a time, RACE map, one VE name - #308

Merged
kratofl merged 1 commit into
mainfrom
feat/dash-invalid-lap-single-tyre-numbers
Dec 5, 2026
Merged

kratofl merged 1 commit into
mainfrom
feat/dash-invalid-lap-single-tyre-numbers

Conversation

@kratofl

@kratofl kratofl commented Dec 5, 2026

Copy link
Copy Markdown
Owner

Four dash changes the driver asked for.

An invalid lap shows. Before, the Current lap widget turned into a grey -:--.--- that read like missing data. Now, once the lap is lost on track, its frame turns red with the label INVALID and the time keeps running. A new Invalid lap alert (Dashes > Settings > Fuel and laps, on by default, strip, 2 s) pops LAP INVALID once as it happens. An out lap, which the game never counts (it only counts it in the pit lane and drops it there), is not "lost": it stays as it was and raises nothing. The renderer derives this from the alert tracker's readings (lap_lost in alerts.rs) and passes it to the widget through Overlays.

Tyre numbers one corner at a time. New tyre_temp_number, brake_temp_number and tyre_brake_temp_number widgets show one corner (picked like the Tyre widget), framed and titled with that corner. Their boxes can be as small as TC's.

RACE instead of R. Two-map cars (LMP2, LMGT3) read RACE wherever the word fits at the box's usual value size, else R; the map-change popup says RACE.

One name for virtual energy. "Virtual Energy" → "VE", "Energy Laps Left" → "VE Laps Left", matching every other VE widget and what the wheel prints.

Not verified

Not run against the live game. Recordings show the game's lap validity going invalid for 1–7 s mid-lap and then back to valid, several times per lap at Monza. The red frame and the alert follow that signal as it is. Whether those are real track-limit moments is open, and needs a drive to check.

Checks

Renderer cargo test (292), clippy, fmt; desktop and dashboard type-check and tests; C# catalog, alert settings and coordinator tests; dash PNGs rendered and looked at; Dashes > Settings shot in the preview harness.

🤖 Generated with Claude Code

A lap lost to track limits now shows: the Current lap frame turns red with
INVALID while the time keeps running, and a new "Invalid lap" alert pops
LAP INVALID once as it happens (Dashes > Settings, on by default). An out
lap, which the game never counts, stays as it was.

The tyre, brake and tyre + brake numbers also come one corner at a time, so
each can sit where the driver wants it. Two-map cars read RACE instead of R
wherever the word fits. Virtual energy is called VE in every widget name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kratofl kratofl added the type/feature Feature request or capability work label Dec 5, 2026
@kratofl
kratofl enabled auto-merge (squash) December 5, 2026 18:39
@kratofl
kratofl merged commit ef5e920 into main Dec 5, 2026
3 checks passed
@kratofl
kratofl deleted the feat/dash-invalid-lap-single-tyre-numbers branch December 5, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/feature Feature request or capability work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant