fix(race): finish the lap you are on, one clock owner, edits survive refresh, participants editable (1.59.0)

This commit is contained in:
larssand committed 2026-11-04 21:34:06 +01:00
1 parent afb8829b16
commit db6a9f19e4
16 files changed
+313 -39

No files matched your search

+14
View File
@@ -8,6 +8,20 @@ The application version is maintained in `package.json` and displayed in the adm
No changes recorded yet.
## 1.59.0 - 2026-11-04
### Changed
- Finish the lap you are on: when time is up each driver finishes at their first crossing after their own time (own clock with flying/staggered start); later crossings no longer count. The heat closes as soon as everyone has finished, or when the last car still out has had about 1.5 of its own lap time (at least the follow-up time, at most the max lap time), instead of a fixed 10-15 s.
- The extra "Final lap" call after "Time has expired. Finish the lap you are on." is gone.
### Fixed
- "Time has expired" was called once per open window (Race Day, Timing on another PC, the drivers' board). Only the browser running the race (on the decoder, or the one that started the heat) calls the clock and closes the heat now.
- A change made in an edit dialog (for example a heat's length 5 -> 3 min) could be lost when the dialog had been open for more than 15 s: the background refresh replaced the heat, race or driver it was editing. The refresh now updates them in place.
- A new qualifying or final time, start type or follow-up time in Race format now also reaches heats not run yet.
- Race participants: drivers left out at creation can be ticked again in Manage (the list showed only those chosen), drivers from other classes can be added, and practice and qualifying heats not run yet follow the list (a new driver joins the smallest heat).
## 1.58.0 - 2026-11-04
### Added