add more stats to mobile and fix refresh stint
This commit is contained in:
12
README.md
12
README.md
@@ -268,7 +268,7 @@ Training statistics currently include only valid laps linked to a registered dri
|
||||
|
||||
Judging corrections update ledger laps while the source session still exists. Once a session is deleted, its synchronized training laps remain in the ledger so lifetime progression is not lost. Full data export includes the ledger, reward goals, and setup markers.
|
||||
|
||||
### Read-only mobile profile
|
||||
### Restricted mobile profile
|
||||
|
||||
Each registered driver can have an optional personal mobile link:
|
||||
|
||||
@@ -278,7 +278,9 @@ Each registered driver can have an optional personal mobile link:
|
||||
4. Scan `Local QR code` on the same network as RaceCore, or `Public QR code` over the internet. The local QR is generated from the RaceCore server LAN address, so it also works when the admin UI was opened as `localhost`.
|
||||
5. Use `Create new link` to revoke the previous URL, or `Disable profile` to turn sharing off. `Detect public IP` is an explicit suggestion only; use the FQDN when the TLS certificate is issued for the domain.
|
||||
|
||||
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, club ranking, 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, club ranking, race setup or admin state. The only server-side mobile action is adding a setup marker for the token owner and selected linked class.
|
||||
|
||||
The performance section also shows active 30-minute pace blocks and lets the driver mark a class-specific car/setup change. Open detail sections remain expanded during live polling.
|
||||
|
||||
The mobile page also includes a local practice timer where the driver chooses minutes for `Maximum focus` and `Controlled`. The default is `10 + 10`, while a five-minute heat can for example use `5 + 0`. 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 and duration choices stay in that phone's browser, separately per driver and class, and do not modify race data. Durations are locked while a session runs and can be changed after finishing or resetting it.
|
||||
|
||||
@@ -669,8 +671,10 @@ Linux:
|
||||
|
||||
```bash
|
||||
npm stop
|
||||
backup=$(find data/backups -maxdepth 1 -name '*.sqlite' -printf '%T@ %f\n' | sort -nr | head -n 1 | cut -d' ' -f2-)
|
||||
printf 'Restoring %s\n' "$backup"
|
||||
backup=$(find data/backups -maxdepth 1 -name '*.sqlite' -printf '%T@ %f
|
||||
' | sort -nr | head -n 1 | cut -d' ' -f2-)
|
||||
printf 'Restoring %s
|
||||
' "$backup"
|
||||
npm run backup:restore -- "$backup" --confirm
|
||||
npm start
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user