baldav/frontend
4aiman 165e7e7e9c Weight in profile, nav stack persistence, GPS kcal in daily expenditure
Profile:
- Added weight_kg field to profile modal (was only in weight_log)
- Weight fallback chain: weight_log -> profile -> 80kg

Bike modal:
- Active bike toggle: replaced checkbox with Да/Нет chip buttons

Navigation:
- navStack persisted to localStorage, restored on app restart
- Browser history seeded from saved navStack
- Last screen restored after restart (not always "today")

Daily expenditure:
- getActivityTotalsForDate now includes gps_sessions.total_kcal
- getDailyActivityTotals (stats chart) also includes GPS sessions
- GPS bike rides now appear in daily kcal expenditure

Physics kcal fix:
- Use raw altitude (not smoothed) for gradient in power calculation
- Smoothed altitude was killing real slopes (296 vs 460 kcal)
- Smoothed altitude kept only for displayed elevGain/Loss
2026-05-25 02:33:04 +03:00
..
css Alternative units, analytics charts, elevation smoothing, batch GPS update 2026-05-23 17:12:19 +03:00
data Clean up nutrients_guessed: removed 222 false positives 2026-05-23 18:10:00 +03:00
js Weight in profile, nav stack persistence, GPS kcal in daily expenditure 2026-05-25 02:33:04 +03:00
lib Android support + Settings screen + Mobile UX fixes 2026-05-14 14:17:57 +03:00
index.html GPS point ordering + GPX export + chart zoom fixes 2026-05-16 21:21:13 +03:00