Skip to content

v2.1

Choose a tag to compare

@aothmane-control aothmane-control released this 04 Jan 19:02
· 15 commits to master since this release

feat: Add comprehensive workout analytics and history tracking (v2.1)

MAJOR FEATURES:

  • Workout data recording: Automatic capture of power, speed, cadence, HR, resistance, distance every second
  • Post-workout analytics: Summary screen with three interactive charts (power, speed, resistance evolution)
  • Workout history: JSON-based storage system with complete historical tracking
  • History viewer: List and detail views for all completed workouts
  • Distance tracking: Automatic distance calculation for all workout types
  • Speed calculation: Derived from power when no wheel sensor available

UI IMPROVEMENTS:

  • Scrollable interval list: 200dp fixed height with nested scrolling
  • Edit interval feature: Modify any interval with validation dialog
  • MaterialToolbar: Added toolbar with three-dot menu
  • About dialog: Copyright and app information display
  • Copyright display: Footer text on main screen

DATA & STORAGE:

  • WorkoutDataPoint model: Single data recording (8 fields)
  • WorkoutHistory model: Complete workout summary with statistics
  • WorkoutStorageManager: JSON file-based persistence (workout_YYYYMMDD_HHMMSS.json)
  • Automatic saving: Workouts saved on stop with NaN handling for missing HR data