Commit Graph
10 Commits
Author SHA1 Message Date
larssand b0f2b92c04 feat(houseofrc): fetch club events, classes and entries with transponders via the timing API (1.81.0) 2026-11-08 15:53:57 +01:00
larssand 9c1f5713e6 feat(houseofrc): create a race from a House of RC event and its entries (1.80.0) 2026-11-08 11:52:57 +01:00
larssand a7d2d0b9ae feat(practice): open practice settings with ranking by best N in a row or best X minutes (1.68.0) 2026-11-05 22:38:33 +01:00
larssand d0a5df6992 feat(sponsor): quick setup with guest drivers, shared rental cars, rotating heats and A/B finals (1.63.0) 2026-11-05 18:31:57 +01:00
larssand afb8829b16 fix(race-setup): wizard builds qualifying as Q/H heats; guide gets race day step by step (1.58.0) 2026-11-04 16:35:31 +01:00
larssand 8b625c3d64 fix(race-setup): ask before deleting a race or a session (1.54.1) 2026-11-02 08:48:37 +01:00
larssand b23410c190 feat(race-setup): group the race list into today, upcoming and folded done, with progress and search (1.52.0) 2026-11-02 08:21:17 +01:00
larssandandClaude Sonnet 5 94794350e5 Add a results archive and purge orphaned passing rows on delete
Until now there was no way to find a completed session without already
knowing which event it belonged to - navigation was strictly Events ->
one event -> its sessions. A new "Resultatarkiv" view lists every
finished session across all events, searchable by event/session name,
class, driver and date range.

Opening a session reuses the existing single-session leaderboard
builder for standings and the existing per-competitor lap lookup for
lap history - no new results logic - plus a session-wide penalties/
corrections list (resultsBySession[id].adjustments), previously only
visible in the live judging action log. Export buttons reuse the
existing per-event PDF and race-package JSON export functions rather
than adding a new format.

Investigated what should happen to raw timing data when a race is
deleted. Training statistics and session replay already read from
their own independent, deliberately-retained copies that survive
deletion by existing design - unaffected either way. The one thing
that outlived deletion with no purpose was the raw `passings` SQLite
rows (write-only; nothing in the app reads them), growing forever with
driver IDs never purged. A new POST /api/passings/purge endpoint now
removes exactly the deleted session(s)' rows, called as a best-effort
side call from both delete-event and delete-session.

Also fixes a real bug found while building this: ensureSessionResult
guarded adjustments/splits/pitEvents/pitStops against being missing on
an already-existing result, but not passings itself, so viewing lap
history for such a result (e.g. an older/imported race package)
crashed outright.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-09 15:49:10 +02:00
larssand 2e6866a013 Add simplified Open Practice flow and reorganize 2026-08-24 19:25:21 +02:00
larssand ac0ccb1702 Extract event workspace controller into module 2026-03-26 20:39:08 +01:00