screen-locker/stronglift_replacement/workout_app/lib/screens
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
..
github_mirror_screen_widgets.dart Make GitHub mirror screen text-free 2026-11-11 01:28:49 +01:00
github_mirror_screen.dart Move workout_app to Flutter 3.50 material_ui 2026-11-16 08:54:33 +01:00
history_screen_charts.dart Make history screen text-free 2026-11-11 01:28:48 +01:00
history_screen_data.dart Add RunMap, run detail and runs in history 2026-11-10 16:00:01 +01:00
history_screen_load.dart workout_app: offline-first workout sync 2026-11-27 17:09:54 +01:00
history_screen_painter.dart Make history screen text-free 2026-11-11 01:28:48 +01:00
history_screen_planned.dart Make history screen text-free 2026-11-11 01:28:48 +01:00
history_screen_runs.dart Add RunMap, run detail and runs in history 2026-11-10 16:00:01 +01:00
history_screen_tiles.dart Make history screen text-free 2026-11-11 01:28:48 +01:00
history_screen.dart workout_app: offline-first workout sync 2026-11-27 17:09:54 +01:00
home_screen_cards.dart Make workout app home screen text-free 2026-11-11 01:28:47 +01:00
home_screen_launch.dart workout_app: deload after a training gap at load 2026-11-21 00:11:54 +01:00
home_screen_navigation.dart Host the run in the foreground service 2026-11-17 20:59:06 +01:00
home_screen_sync.dart workout_app: open straight into today's workout on launch 2026-09-28 19:01:55 +02:00
home_screen.dart workout_app: deload after a training gap at load 2026-11-21 00:11:54 +01:00
manual_workout_actions.dart workout_app: log manual workouts for future dates, planned list + delete 2026-10-16 15:36:27 +02:00
manual_workout_form_parts.dart Make manual workout form text-free 2026-11-11 01:28:49 +01:00
manual_workout_screen.dart Move workout_app to Flutter 3.50 material_ui 2026-11-16 08:54:33 +01:00
run_detail_screen.dart Move workout_app to Flutter 3.50 material_ui 2026-11-16 08:54:33 +01:00
run_screen_numbers.dart Persist runs: tests, trims, adapter coverage 2026-11-17 21:28:45 +01:00
run_screen_parts.dart Host the run in the foreground service 2026-11-17 20:59:06 +01:00
run_screen_pulse.dart Adapt run host to the real recorder API 2026-11-17 21:08:45 +01:00
run_screen_state.dart Host the run in the foreground service 2026-11-17 20:59:06 +01:00
run_screen.dart Host the run in the foreground service 2026-11-17 20:59:06 +01:00
settings_screen_actions.dart Make workout app and locker text-free 2026-11-11 00:54:59 +01:00
settings_screen_deload.dart Make workout app and locker text-free 2026-11-11 00:54:59 +01:00
settings_screen_exercise_list.dart Make settings screen text-free 2026-11-11 01:28:48 +01:00
settings_screen_exercise_sections.dart Make settings screen text-free 2026-11-11 01:28:48 +01:00
settings_screen_pc_link.dart Make settings screen text-free 2026-11-11 01:28:48 +01:00
settings_screen_rows.dart Make settings screen text-free 2026-11-11 01:28:48 +01:00
settings_screen_sandbox.dart workout_app: deload after a training gap at load 2026-11-21 00:11:54 +01:00
settings_screen_sections.dart Make settings screen text-free 2026-11-11 01:28:48 +01:00
settings_screen_sound.dart Make workout app and locker text-free 2026-11-11 00:54:59 +01:00
settings_screen_widget.dart feat: JSON export/import on device 2026-11-01 19:55:30 +01:00
settings_screen.dart Fit the line cap; sort requirements 2026-11-21 09:44:15 +01:00
workout_screen_body.dart workout_app: deload after a training gap at load 2026-11-21 00:11:54 +01:00
workout_screen_breaks.dart Make workout app and locker text-free 2026-11-11 00:54:59 +01:00
workout_screen_dialogs.dart Make workout app and locker text-free 2026-11-11 00:54:59 +01:00
workout_screen_finish.dart workout_app: offline-first workout sync 2026-11-27 17:09:54 +01:00
workout_screen_intents.dart Make workout app and locker text-free 2026-11-11 00:54:59 +01:00
workout_screen_session.dart Load gap deload marks after the snapshot push 2026-11-21 00:27:44 +01:00
workout_screen_taps.dart Add set haptics, finish chime, sound switch 2026-11-01 21:46:09 +01:00
workout_screen.dart workout_app: offline-first workout sync 2026-11-27 17:09:54 +01:00