fix(overlay): show the heat's start list before the first passing (1.65.6)
This commit is contained in:
1 parent
54f4c3b923
commit
31ac04616a
4 files changed
+16
-4
No files matched your search
@@ -8,6 +8,12 @@ The application version is maintained in `package.json` and displayed in the adm
|
||||
|
||||
No changes recorded yet.
|
||||
|
||||
## 1.65.6 - 2026-11-05
|
||||
|
||||
### Fixed
|
||||
|
||||
- The overlay was empty before a heat started ("no laps"). Until the first car crosses the line it now shows the heat's start list in grid order, with each driver's transponder (sponsor heats: the car and its transponder); the live order takes over at the first passing.
|
||||
|
||||
## 1.65.5 - 2026-11-05
|
||||
|
||||
### Fixed
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "rc-racecore",
|
||||
"version": "1.65.5",
|
||||
"version": "1.65.6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "rc-racecore",
|
||||
"version": "1.65.5",
|
||||
"version": "1.65.6",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"better-sqlite3": "^12.11.1",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rc-racecore",
|
||||
"version": "1.65.5",
|
||||
"version": "1.65.6",
|
||||
"private": true,
|
||||
"description": "RC RaceCore live timing and race control with AMMC ingest and SQLite persistence",
|
||||
"engines": {
|
||||
|
||||
+7
-1
@@ -182,7 +182,13 @@ export function renderOverlayPageView(deps) {
|
||||
const active = getActiveSession();
|
||||
// Every driver: an Open Practice often has more than 12 cars out (OBS has its own row
|
||||
// setting and cuts the list itself).
|
||||
const leaderboard = active ? buildLeaderboard(active) : [];
|
||||
const liveRows = active ? buildLeaderboard(active) : [];
|
||||
// Before anyone has crossed the line (heat not started yet): the heat's start list, in grid
|
||||
// order, so the screen shows who is in the heat (sponsor heats: with their car).
|
||||
const startList = !liveRows.length && active && active.type !== "open_practice"
|
||||
? getSessionGridEntries(active).map((entry, index) => ({ key: `grid_${index}`, displayName: entry.name, subLabel: entry.meta, laps: 0, resultDisplay: "-", bestLapMs: null }))
|
||||
: [];
|
||||
const leaderboard = liveRows.length ? liveRows : startList;
|
||||
const result = active ? ensureSessionResult(active.id) : null;
|
||||
const sessionTiming = active ? getSessionTiming(active) : null;
|
||||
const overlayClock = sessionTiming?.followUpActive
|
||||
|
||||
Reference in new issue
Block a user