Commit Graph

6 Commits

Author SHA1 Message Date
clawd aa2bcee061 Dashboard: show workout list when no scheduled workout
- 'Välj pass' section with all available workouts
- Compact workout cards with exercise tags
- Click any workout → WorkoutPage
- No more 'Vilodag' - user can always pick a workout
2026-02-01 14:30:12 +01:00
clawd 9a34bb2e44 Add WorkoutPage with warmup exercises (Claude Code)
- Dedicated workout page with progress tracking
- Warmup section with general + muscle-specific exercises
- Preparatory sets (2x10 @ 50% of first exercise)
- Checkbox tracking for warmup completion
- Progress bar showing completed exercises
- Animated 'Finish workout' button when done
- Mobile-first CSS with responsive design

Built by Claude Code 2.1.29
2026-02-01 14:20:00 +01:00
clawd add0b2a86b Add ProfilePage and ProgressPage
ProfilePage:
- View/edit user info (name, age, height, goal, level)
- Show current measurements (weight, body fat, waist, neck)
- Show strength records (bench/squat/deadlift 1RM)

ProgressPage:
- Tab navigation (weight, body fat, strength)
- SVG line charts for progress visualization
- Stats showing current, first, and change
- Trend indicators (up/down)

Dashboard:
- Navigation icons for profile (👤) and progress (📊)
- Connected navigation to App.jsx routing
2026-02-01 11:50:52 +01:00
clawd a2dc8c7c12 Add Dashboard with weekly calendar and today's workout
- Dashboard.jsx: main landing page after login
- Coach greeting based on time of day
- Weekly calendar showing workout days
- Today's workout card with exercises
- Quick stats (workouts/week, streak)
- Upcoming workouts list
- Full responsive CSS
- App.jsx updated to show Dashboard first
2026-02-01 11:09:16 +01:00
clawd fe64bd9a67 Refactor: separera user_measurements och user_strength tabeller
- Ny databasstruktur för historik/progress tracking
- Nya endpoints: POST/GET measurements och strength
- Onboarding sparar till rätt tabeller
- Beräknar och sparar body_fat_pct
- Fixar tomma numeriska fält (null istället för '')
- Döljer 1RM för nybörjare
2026-02-01 00:10:48 +01:00
clawd 032cca851d Initial commit: Gravl MVP med onboarding 2026-01-31 23:33:20 +01:00