screen-locker/stronglift_replacement/workout_app
Krzysztof kuhy Rudnicki 74be875900 workout_app: offline-first workout sync
A finished workout's record now lands in a local crdt log
(workout_log.json) before any network call. Every sync tick pushes that
log, so a failed or unconfigured push goes out with the next tick (home
open, app resume, a 5-minute WorkoutResync retry). The re-push carries
the same record and clock; the PC credits once per type:date anyway.

Every tick and every live history read merges what it pulled into the
same log, so PC records stay readable offline and after a restart.
History shows local rows plus cached synced rows at once, then refreshes
from the live read in the background. Ticks run one at a time, each
cut off after 2 min so a hung request cannot block the queue.

Bug-class-check: stronglift_replacement/workout_app/test/services/workout_sync_offline_test.dart, test/screens/workout_finish_keeps_record_test.dart, test/screens/history_offline_test.dart
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:09:54 +01:00
..
android Bump flutter 3.50.1, gradle 9.9.2, web deps 2026-11-20 11:26:22 +01:00
assets Pace target in backup, run rule comments 2026-11-10 19:05:53 +01:00
lib workout_app: offline-first workout sync 2026-11-27 17:09:54 +01:00
linux Enforce the 250-line cap on C++ and markdown 2026-11-01 20:03:02 +01:00
scripts Add run screen, home entry, provisioning 2026-11-10 16:24:25 +01:00
test workout_app: offline-first workout sync 2026-11-27 17:09:54 +01:00
tools Pace target in backup, run rule comments 2026-11-10 19:05:53 +01:00
.gitignore feat: add Flutter workout app (StrongLifts replacement) 2026-05-31 16:23:46 +02:00
.metadata Run the workout app on Linux, and let it hold the screen lock 2026-08-22 11:18:48 +02:00
analysis_options.yaml Persist the CI-mirror's analyzer excludes and dependency upgrades 2026-08-14 16:13:46 +02:00
DOCS-workout-app-context.md workout_app: offline-first workout sync 2026-11-27 17:09:54 +01:00
pubspec.lock Pin flutter_local_notifications 23.0.4 2026-11-23 14:21:42 +01:00
pubspec.yaml Pin flutter_local_notifications 23.0.4 2026-11-23 14:21:42 +01:00
README.md feat: add Flutter workout app (StrongLifts replacement) 2026-05-31 16:23:46 +02:00

workout_app

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.