Add class-specific driver training profiles and metadata
This commit is contained in:
@@ -181,6 +181,10 @@ The default view is intentionally simple: four key statistics, the next lap targ
|
||||
|
||||
When Open Practice, Free Practice, or Practice is running, the selected driver gets a compact live card with current valid laps, best lap, average, and latest lap. The session remains shared by everyone; only the mobile 20-minute timer and personal profile link are unique per driver. The primary action at the top creates or opens that link.
|
||||
|
||||
One person can have separate driver entries for classes such as 2WD and 4WD and link them to the same `Practice profile` under `Drivers`. The person then has one profile and one mobile link, while every performance statistic is selected and calculated separately per class. Multiple transponders within the same class are combined in that class's statistics.
|
||||
|
||||
The personal profile can also store `Club` and `Country`. These values are inherited when another class entry is linked to the same practice profile and are included in full JSON and driver CSV exports. They are not disclosed by the public profile link.
|
||||
|
||||
- durable lifetime valid-lap ledger synchronized from stored session results
|
||||
- practice days, recorded sessions, personal best, overall/recent averages, controlled-lap streak, and recent consistency spread
|
||||
- automatic stint boundaries after a passing gap longer than 2 minutes
|
||||
@@ -193,7 +197,7 @@ When Open Practice, Free Practice, or Practice is running, the selected driver g
|
||||
- optional reward text and a delivered/redeemed state
|
||||
- responsive layout for opening the same server from a phone on the local network
|
||||
|
||||
Direct mobile/bookmark link: `http://<server-ip>:8081/?view=training`. Selecting a driver adds its ID to the URL so that driver's page can be bookmarked.
|
||||
Direct mobile/bookmark link: `http://<server-ip>:8081/?view=training`. Selecting a profile and class adds both to the URL so the exact view can be bookmarked.
|
||||
|
||||
Training statistics currently include only valid laps linked to a registered driver. Anonymous Open Practice transponders are intentionally excluded until they are assigned to a driver.
|
||||
|
||||
@@ -208,7 +212,7 @@ Each registered driver can have an optional personal mobile link:
|
||||
3. Copy or open the generated link.
|
||||
4. Use `Create new link` to revoke the previous URL, or `Disable profile` to turn sharing off.
|
||||
|
||||
The URL uses a 192-bit random bearer token rather than a driver ID. The public API returns only that driver's display name, class/brand, aggregate practice statistics, daily summaries, goals and reward text. It does not return transponder IDs, other driver names, race setup or admin state.
|
||||
The URL uses a 192-bit random bearer token rather than a driver ID. The same link provides a class selector with fully separate lap times and practice results for each linked class. The public API does not return transponder IDs, other driver names, race setup or admin state.
|
||||
|
||||
The mobile page also includes a local 20-minute practice timer: 10 minutes maximum focus followed by 10 minutes controlled 80-90% driving. While a shared Free Practice session keeps running, the card shows that driver's lap count, best lap and average since the personal timer started. Timer state stays in that phone's browser and does not modify race data.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user