feat(ux): run sessions from Race Day with quick actions
Race Day gets Start practice, New track layout and Create race, a session picker, only the buttons that apply, and New practice day (replaces Reset data on Timing; laps stay in the training stats). Timing is for following and links to Race Day. The Dashboard shows the three common tasks first. Guide, READMEs, screenshot and the "Run a session" video follow the flow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3a6789f42f
commit
c4df90706a
23 files changed
+344
-111
No files matched your search
+13
@@ -954,6 +954,19 @@ Verified:
|
||||
- `tests/browser_live_session.js` runs practice A while B is selected, and sends a real decoder passing. It checks that the passing is counted on A and nothing on B, that the notice shows A, and that Show it selects A and removes the notice.
|
||||
- The test fails with the old routing ("the passing is counted on the running practice, not dropped") and passes with the fix. 76 browser scenarios pass.
|
||||
|
||||
## Race Day runs sessions, Timing follows (2026-10-17)
|
||||
|
||||
Reported by the user: non-technical club members found it too hard to start a new Open Practice or a layout in a running practice, and "Reset data" sat on Timing while pause/start/stop sat on Race Day.
|
||||
|
||||
- [x] Race Day quick actions: **Start practice** (`startPracticeNow` continues the running, paused or latest ready Open Practice, otherwise creates and starts one), **New track layout** (practice only) and **Create race**.
|
||||
- [x] Session picker on Race Day, and only the buttons that apply (Start / Pause / Resume / Finish), with practice wording; no start lights for practice.
|
||||
- [x] **New practice day** (`resetSessionData`) on Race Day with a confirm that says the laps stay in the training stats; removed from Timing together with start/stop.
|
||||
- [x] Timing keeps the session picker, leaderboard and lap clean-up, plus a link to Race Day; opening a session from Race Setup goes to Race Day.
|
||||
- [x] Dashboard shows Start practice, Create race and Series / cup first.
|
||||
- [x] Guide, READMEs, `race-day.jpg` and the "Run a session" video updated to the new flow.
|
||||
|
||||
Verified: 266 unit tests and 80 browser scenarios pass, including `tests/browser_race_day_quick.js` (Dashboard Start practice creates, starts and opens a practice on Race Day; the quick layout moves it; the picker switches session; Timing has no run controls). `tests/browser_race_day.js` now checks that buttons are shown only when they apply. Video frames checked: count-down, To 10 s, then Pause/Finish once the heat runs.
|
||||
|
||||
## Documentation maintenance
|
||||
|
||||
- [x] Update the architecture's module/dependency inventory as modules change.
|
||||
|
||||
Reference in new issue
Block a user