screen-locker/stronglift_replacement/workout_app/CONTEXT.md
Krzysztof kuhy Rudnicki 26d55fb311 feat: add Flutter workout app (StrongLifts replacement)
Full-featured workout tracker with session persistence, auto A/B cycling,
warmup weights (4/5 of target), settings weight stepper, history + progress
graph, HTTP sync server, and crash-safe active session resume.

Removed per-set break timers per user preference. Dropped audioplayers and
vibration dependencies; updated permission_handler to 12.x to eliminate
two of three KGP build warnings (shared_preferences_android is an upstream issue).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 16:23:46 +02:00

21 lines
861 B
Markdown

# Workout App Context
## Current Task
Implementing design_v2.md improvements.
## Key Decisions
- Active session persisted to SQLite on every tap so force-kill is safe
- PopScope removed — back button returns to home, workout continues in DB
- Auto-resume: HomeScreen auto-navigates to workout on first load if session exists
## Deferred / Not Yet Implemented
- **Background notifications + break sound when phone is sleeping**: Dart timers
suspend when app is backgrounded. Needs a native Android foreground service
(e.g. `flutter_foreground_task` or custom Kotlin service) to keep the break
countdown running and fire the alert even when the screen is off.
File as a separate task before marking the app "done."
## Next Steps
- Clarify user intent on "no break between sets" (contradicts design_v2.md which
explicitly requested per-set breaks)