feat: add Phase 5 Progression & Analytics — smart suggestions, dashboard, schedule
Add auto-progression engine (ProgressionService) with rep increase, weight increase, deload, and felt-easy acceleration rules. Add AnalyticsService for user stats, exercise progress charts, and volume-by-day data. New dashboard and schedule routes with Chart.js visualizations. Progression badges shown inline on workout day view. Navigation updated with Dashboard and Schedule links. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
24
app/templates/partials/stats_card.html
Normal file
24
app/templates/partials/stats_card.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<article>
|
||||
<header><h4>Sessions</h4></header>
|
||||
<p style="font-size:2rem; font-weight:700;">
|
||||
{{ stats.total_sessions }}
|
||||
</p>
|
||||
</article>
|
||||
<article>
|
||||
<header><h4>Total Volume</h4></header>
|
||||
<p style="font-size:2rem; font-weight:700;">
|
||||
{{ "{:,}".format(stats.total_volume) }} lbs
|
||||
</p>
|
||||
</article>
|
||||
<article>
|
||||
<header><h4>Total Sets</h4></header>
|
||||
<p style="font-size:2rem; font-weight:700;">
|
||||
{{ stats.total_sets }}
|
||||
</p>
|
||||
</article>
|
||||
<article>
|
||||
<header><h4>Streak</h4></header>
|
||||
<p style="font-size:2rem; font-weight:700;">
|
||||
{{ stats.current_streak }} week{{ "s" if stats.current_streak != 1 }}
|
||||
</p>
|
||||
</article>
|
||||
Reference in New Issue
Block a user