Commit Graph

5 Commits

Author SHA1 Message Date
bl3kunja a876c121ef Add shot accuracy data calculation and visualization to player stats page
- Implement calculate_shot_accuracy() function in tv_app.py to extract individual shot values from tournament participant data
- Aggregate shot accuracy data (0-10) by tournament type (4_targets, 20_targets, 40_targets) in analyze_player_performance()
- Update modern_player_stats.html to load shot accuracy data directly from template context instead of API
- Add tournament type mapping between display names (40 Targets) and backend keys (40_targets)
- Implement CSS-based bar chart visualization that displays shot distribution with proper color gradients
- Remove unused async loadShotAccuracyData() API fetch and replace with direct template data access
- Data is now properly aggregated across all tournaments for each player and format type

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 13:00:52 +01:00
bl3kunja 8b503be144 fixed calculator showing when league active and tournament unactive. 2025-11-12 12:06:12 +01:00
bl3kunja-FW fd44ca7128 saving issue fixed 2025-11-11 17:34:42 +01:00
bl3kunja 21bd6b74d2 new translation fix and some overall imrpovement to how the tournament and league workflow works. 2025-11-10 15:04:09 +01:00
bl3kunja ba7e1626e3 Refactor change... 2025-11-09 12:55:10 +01:00