mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-20 22:32:24 +01: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>
21 lines
861 B
Markdown
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)
|