Commit Graph

15 Commits

Author SHA1 Message Date
bl3kunja 6442194802 Reorganize player stats layout: place shot accuracy graph on top of performance chart
- Move shot accuracy distribution section above the tournament performance chart
- Restructure charts-panel into two distinct sections with clear visual separation:
  - accuracy-section: Shows shot accuracy bar chart and distribution stats at top
  - performance-section: Shows tournament performance chart at bottom
- Add CSS styling for both sections with consistent backgrounds and spacing
- Update chart-info styles to accommodate h3 heading in performance section
- Remove redundant panel-title since sections now have their own h3 headings
- Improve visual hierarchy and organization for better readability

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 13:04:27 +01:00
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 23dc5673ee language setting button change 2025-11-10 15:19:24 +01:00
bl3kunja 871444c11c tounament.html did not commit 2025-11-10 15:07:49 +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
bl3kunja 1dba97ef71 fixing tens 2025-11-04 15:33:33 +01:00
bl3kunja 4d3f880c64 fixed camera stream issue 2025-10-21 17:31:53 +02:00
bl3kunja f8d8548244 V1.0.0 - release and included language 2025-10-10 16:59:23 +02:00
bl3kunja c61c1448e4 Enhance print layouts with branded headers and fix navigation consistency
- Replace plain print headers with full branded headers including logo
  - Add dynamic tournament-type styling (🎯 4-target,  20-target, 💪 40-target)
  - Remove border lines and optimize spacing for clean print appearance
  - Fix emoji positioning in league championship headers
  - Standardize navigation with proper active button indicators
  - Add missing translation keys for calculator instructions
  - Update print media queries for professional document output

  Print improvements:
  - Logo and branding now appear on printed results
  - Consistent 20px spacing between header and table
  - Clean white background with subtle borders
  - Optimized typography for print readability

  Navigation fixes:
  - Added active button highlighting across all PC pages
  - Consistent navigation order: Dashboard → Tournament → Player Analysis → Archive → Draft →
  Calculator
  - Fixed draft page active indicator

  🤖 Generated with Claude Code

  Co-Authored-By: Claude <noreply@anthropic.com>

  This commit message covers all the major improvements we made:
  - Print layout enhancements with branded headers
  - Navigation standardization and active indicators
  - Translation fixes
  - Visual styling improvements
  - Professional document output optimization
2025-09-20 20:03:44 +02:00
bl3kunja-FW 33758e7340 Print function correction + player analysis fix and player stats fix 2025-08-10 18:22:22 +02:00
bl3kunja 054c81e78e added new tournament mode. 2025-08-10 10:31:15 +02:00
bl3kunja-FW 5c7f255a02 Add tournament archives and results for multiple events
- Created JSON files for tournament archives on 2025-07-28 and 2025-07-29, including detailed player scores and shot results.
- Added a new tournament results file summarizing the outcomes of the tournament held on 2025-07-29, including participant scores and completion status.
2025-08-02 15:27:32 +02:00