feat(results): save results as PDF automatically on the server and ask to print when the finals are done (1.89.28)

This commit is contained in:
larssand committed 2026-11-14 15:58:23 +01:00
1 parent ae829123cc
commit e98abd92d9
16 files changed
+253 -6

No files matched your search

+4
View File
@@ -322,6 +322,10 @@ The **Overlay** menu has leaderboard, speaker, results, TV and team modes, plus
- automatic before every session start, plus manual ones;
- the latest 30 are listed under Settings;
- restore with `npm run backup:restore` (see [Installation](#restore-a-server-backup)).
- **Results as PDF automatically** (Settings → Appearance & overlay → **Save results as PDF automatically**: Off / Every heat / Final results only):
- The race controller computer saves the result 10 s after the finish in `data/results/<date>/`. After the last final the full results are saved too. A correction in Judging saves the file again.
- Race Day shows "📄 Result saved", and the Results archive has the list **📄 Saved PDFs**. The files are not part of the server backup (that covers the database), so copy the folder to keep them long term.
- **Ask to print when the finals are done** shows a **🖨 Print results** button when the last final is done. A browser cannot print without a click; for fully automatic printing start Chrome with `--kiosk-printing`, which prints straight to the default printer when the button is pressed.
- **Export/import** (Settings → Storage):
- full JSON, or the directory only (classes, drivers, cars);
- CSV for drivers and cars (Excel/LibreOffice; comma, semicolon or tab). The CSV import merges: it matches on ID, then transponder, then name + class.