Skip to content

feat: athlete progress dashboard#1

Open
Bit-Bonds wants to merge 4 commits intomasterfrom
feature/progress-dashboard
Open

feat: athlete progress dashboard#1
Bit-Bonds wants to merge 4 commits intomasterfrom
feature/progress-dashboard

Conversation

@Bit-Bonds
Copy link
Copy Markdown
Owner

Summary

  • Add weekly training summaries computed from synced Strava activities (distance, pace, HR, elevation, compliance)
  • Add race results tracking with PR badges, inline logging from race calendar
  • Add coach team progress overview with per-athlete drill-down view
  • New database tables: weekly_summaries, race_results with RLS policies

Changes

  • Migration: 004_progress.sql with weekly_summaries + race_results tables, indexes, and RLS
  • Backend service: progressService.ts with computeWeeklySummary, computeAllWeeks, getComplianceRate, calculatePacePerMile
  • Backend routes: progress.ts with 8 endpoints for athlete weekly data, race results CRUD, coach team progress
  • Zod schemas: raceResultSchema, raceResultUpdateSchema, weeklyQuerySchema
  • Frontend: AthleteProgress page with bar charts, pace trends, current week stats, PR list
  • Frontend: CoachTeamProgress page with team table and athlete detail drill-down
  • Frontend: RaceCalendar updated with Log Result button, inline result form, results section

Test plan

  • Verify weekly summary computation from activity data
  • Test race result CRUD (create, update, delete)
  • Test coach can view team progress and drill into athlete details
  • Verify RLS policies restrict data access appropriately
  • Confirm TypeScript compiles clean (backend + frontend)

Generated with Claude Code

bitbonds and others added 4 commits March 23, 2026 22:31
…ach overview

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ach overview

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant