screen-locker/stronglift_replacement/workout_app/test/services
Krzysztof kuhy Rudnicki 83d77884a0 Workout screen never moves when a rest starts; a sandbox flavor to prove it on the phone
The rest banner used to be inserted into the column only while a break ran,
so its arrival took height from the exercise list, shifted every tile down
and pushed the last one into scroll range. The strip is now a permanently
reserved 64 dp slot (muted "Rest / 00:00" while idle, Skip keeps its space),
the list is a non-scrolling column that scales down as a whole if it would
not fit (0.96 on the Pixel 6a with four tiles, pinned by a widget test at
the phone's logical size with the status bar simulated), and the activity is
locked to portrait. Verified on the real phone: only the tapped circle's
pixels change when a rest starts.

Verifying that needed a workout screen that today's already-logged workout
did not offer, so the app gained a `sandbox` product flavor beside `daily`:
com.kuhy.workout_app.sandbox installs side by side with its own data, refuses
every network connection at the socket layer, starts no LAN server for the
PC to pull from, keeps its /sdcard files beside the daily build's, wears a
red SANDBOX ribbon, and offers a SANDBOX section in Settings (wipe, mark
today not done, rest length in seconds). MainActivity answers the flavor and
carries a `WorkoutSandbox` logcat trace of every tap, break, save and
navigation. On Linux the same mode is WORKOUT_SANDBOX=1, driven under Xvfb by
scripts/run_sandbox_xvfb.sh. CI builds --flavor daily; .phone-deploy-flavor
tells phone_deploy.sh the same.

Set circles and the home icon buttons carry semantics labels so they can be
addressed by element (and by screen readers).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YbBZqUaNWyhHYfzz6zGC7q
2026-09-20 18:55:08 +02:00
..
_progression_test_fixtures.dart Split progression_sync_service_test.dart (426) into three 2026-08-15 22:12:04 +02:00
_sync_test_fixtures.dart Move the workout-sync test helpers into _sync_test_fixtures.dart 2026-08-15 22:07:36 +02:00
backup_service_test.dart Workout screen never moves when a rest starts; a sandbox flavor to prove it on the phone 2026-09-20 18:55:08 +02:00
break_clock_test.dart workout_app: run the break countdown in a foreground service with notifications 2026-09-13 20:28:36 +02:00
break_intent_queue_test.dart workout_app: run the break countdown in a foreground service with notifications 2026-09-13 20:28:36 +02:00
break_intent_store_test.dart workout_app: run the break countdown in a foreground service with notifications 2026-09-13 20:28:36 +02:00
break_notification_text_test.dart workout_app: run the break countdown in a foreground service with notifications 2026-09-13 20:28:36 +02:00
break_plugin_impls_test.dart workout_app: run the break countdown in a foreground service with notifications 2026-09-13 20:28:36 +02:00
break_service_controller_test.dart workout_app: run the break countdown in a foreground service with notifications 2026-09-13 20:28:36 +02:00
break_task_handler_test.dart workout_app: run the break countdown in a foreground service with notifications 2026-09-13 20:28:36 +02:00
github_device_auth_test.dart Add phone-workout GitHub sync via shared crdt_sync (Workstream C) 2026-07-11 00:06:59 +02:00
http_server_service_test.dart Cover services + app bootstrap toward 100% flutter coverage 2026-07-13 13:27:18 +02:00
lock_mode_test.dart Cover the lock-mode flag, and mark the one branch Linux cannot reach 2026-08-22 13:06:49 +02:00
progression_sync_push_test.dart Split progression_sync_service_test.dart (426) into three 2026-08-15 22:12:04 +02:00
progression_sync_service_test.dart Split progression_sync_service_test.dart (426) into three 2026-08-15 22:12:04 +02:00
storage_service_backup_test.dart Split storage_service_test.dart (759) into six by group 2026-08-15 21:28:02 +02:00
storage_service_history_test.dart Split storage_service_test.dart (759) into six by group 2026-08-15 21:28:02 +02:00
storage_service_lastsync_test.dart Workout screen never moves when a rest starts; a sandbox flavor to prove it on the phone 2026-09-20 18:55:08 +02:00
storage_service_progression_test.dart Split storage_service_test.dart (759) into six by group 2026-08-15 21:28:02 +02:00
storage_service_restore_test.dart Split storage_service_test.dart (759) into six by group 2026-08-15 21:28:02 +02:00
storage_service_sandbox_test.dart Workout screen never moves when a rest starts; a sandbox flavor to prove it on the phone 2026-09-20 18:55:08 +02:00
storage_service_test.dart Workout screen never moves when a rest starts; a sandbox flavor to prove it on the phone 2026-09-20 18:55:08 +02:00
sync_device_id_test.dart Push under a persisted per-install uuid, not a fixed role id 2026-08-09 17:31:15 +02:00
sync_service_test.dart Workout screen never moves when a rest starts; a sandbox flavor to prove it on the phone 2026-09-20 18:55:08 +02:00
sync_settings_test.dart Workout screen never moves when a rest starts; a sandbox flavor to prove it on the phone 2026-09-20 18:55:08 +02:00
sync_state_factory_test.dart Sync workouts through Firebase, mirroring to GitHub during the cutover 2026-08-05 08:12:40 +02:00
sync_status_test.dart Add sync-status card and duration-threshold fixture 2026-08-15 18:41:31 +02:00
workout_sync_cutover_test.dart Split workout_sync_service_test.dart (740) into four 2026-08-15 22:09:54 +02:00
workout_sync_manual_survival_test.dart Split workout_sync_service_test.dart (740) into four 2026-08-15 22:09:54 +02:00
workout_sync_read_test.dart Workout screen never moves when a rest starts; a sandbox flavor to prove it on the phone 2026-09-20 18:55:08 +02:00
workout_sync_service_test.dart Split workout_sync_service_test.dart (740) into four 2026-08-15 22:09:54 +02:00