mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-07-04 13:23:13 +02:00
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>
861 B
861 B
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_taskor 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)