screen-locker/stronglift_replacement/workout_app/test/screens
Krzysztof kuhy Rudnicki c1c73d43ba
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / lock-popup-safety (push) Has been cancelled
release-apk / release (APK) (push) Has been cancelled
Stop the relaxed-day popup from re-firing every 30 minutes after Skip
workout-locker.timer (added in e5db254) re-runs the full lock-decision
chain every 30 minutes, but is_relaxed_day() is a pure date check with
no memory of an earlier same-day dismissal. Clicking "Skip — No
Penalty" only closed the window without persisting anything, so the
next tick re-derived reason=relaxed_day and rebuilt the same popup.

Now the skip button writes a relaxed_day_skip marker to the log
(excluded from weekly counting and sync, same treatment as heat_skip),
and the startup chain checks for it before re-entering the relaxed-day
branch. Also renames workout_log.json to log.json throughout the repo,
tests, docs, and Dart comments, since the fix touches that file anyway.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014qH2hJ6mvCJd3ZXpAJSaF7
2026-08-18 21:55:59 +02:00
..
_history_test_fixtures.dart Split history_screen_test.dart (386) into three 2026-08-15 22:14:16 +02:00
_home_test_fixtures.dart Split home_screen_test.dart (383) into three 2026-08-15 22:16:57 +02:00
_workout_screen_test_fixtures.dart Split workout_screen_test.dart (362) into three 2026-08-15 22:20:56 +02:00
github_mirror_screen_auth_test.dart Split github_mirror_screen_test.dart (470) into four 2026-08-15 21:29:34 +02:00
github_mirror_screen_flow_test.dart Split github_mirror_screen_test.dart (470) into four 2026-08-15 21:29:34 +02:00
github_mirror_screen_push_test.dart Split github_mirror_screen_test.dart (470) into four 2026-08-15 21:29:34 +02:00
github_mirror_screen_test.dart Split github_mirror_screen_test.dart (470) into four 2026-08-15 21:29:34 +02:00
history_chart_test.dart Stop the relaxed-day popup from re-firing every 30 minutes after Skip 2026-08-18 21:55:59 +02:00
history_screen_test.dart Split history_screen_test.dart (386) into three 2026-08-15 22:14:16 +02:00
home_screen_test.dart Split home_screen_test.dart (383) into three 2026-08-15 22:16:57 +02:00
home_sync_card_test.dart Split home_screen_test.dart (383) into three 2026-08-15 22:16:57 +02:00
manual_workout_screen_test.dart Report a failed workout push instead of hiding it in debugPrint 2026-08-09 18:50:48 +02:00
settings_screen_reset_test.dart Split settings_screen_test.dart (480) into four by testWidgets 2026-08-15 21:28:40 +02:00
settings_screen_sync_test.dart Split settings_screen_test.dart (480) into four by testWidgets 2026-08-15 21:28:40 +02:00
settings_screen_test.dart Split settings_screen_test.dart (480) into four by testWidgets 2026-08-15 21:28:40 +02:00
settings_screen_thresholds_test.dart Split settings_screen_test.dart (480) into four by testWidgets 2026-08-15 21:28:40 +02:00
workout_breaks_test.dart Split workout_screen_test.dart (362) into three 2026-08-15 22:20:56 +02:00
workout_screen_test.dart Split workout_screen_test.dart (362) into three 2026-08-15 22:20:56 +02:00