Introducing Comprehensive Training Logs and Attendance Tracking
Today we are launching a brand new Training Logs & Attendance Tracking feature. This system connects coaching notes, attendance lists, and training history in one place to help players track their progress and encourage more consistent training.
📊 Google Sheets & Splitwise Attendance Sync
We have introduced a dedicated tracking system for training attendance in the database.
📝 Integrated Coaching Logs & YouTube Embeds
Coaching notes (Markdown files) and Sheet attendance are now merged on the fly:
- Unified Training Numbers: Training sessions are sequenced dynamically from oldest to newest. Every card and detail view now displays a unified "Training #N" header.
- Attendance Avatars: Cards on the Training Logs page and detail page views now list and display avatars for all players who attended that session.
- Dynamic YouTube Resource Previews: Drill log pages automatically search for, extract, and embed YouTube video widgets dynamically.
⚙️ Automation Tools for Club Managers
To make updates effortless, we have added two new CLI commands for managers:
- Auto-Log Skeleton Generator: Run
npx tsx scripts/generate-missing-logs.tsto automatically scan attendance records and generate template Markdown files incontent/logs/with pre-filled metadata (dates, players, training numbers). - Player Injections: Run
npx tsx scripts/inject-players-to-existing-logs.tsto sync player attendance from sheets directly into the frontmatter of any pre-existing markdown log files.